some fixes; in hub now pushes dev tag
This commit is contained in:
@@ -14,6 +14,7 @@ services:
|
||||
interval: 2s
|
||||
retries: 5
|
||||
timeout: 10s
|
||||
start_period: 5s
|
||||
volumes:
|
||||
- ./scripts/postgres:/docker-entrypoint-initdb.d
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
@@ -27,6 +28,12 @@ services:
|
||||
MONGO_INITDB_ROOT_USERNAME: ${MONGO_USER}
|
||||
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_PASS}
|
||||
MONGO_INITDB_DATABASE: ${MONGO_NAME}
|
||||
healthcheck:
|
||||
test: [ "CMD", "mongosh", "--quiet", "admin", "--eval", "quit(db.runCommand({ ping: 1 }).ok ? 0 : 2)" ]
|
||||
interval: 10s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
start_period: 10s
|
||||
volumes:
|
||||
- ./scripts/mongo:/docker-entrypoint-initdb.d
|
||||
- mongo_data:/data/db
|
||||
@@ -36,6 +43,12 @@ services:
|
||||
- bot
|
||||
ports:
|
||||
- "6379:6379"
|
||||
healthcheck:
|
||||
test: [ "CMD", "redis-cli", "--raw", "incr", "ping" ]
|
||||
interval: 5s
|
||||
retries: 5
|
||||
timeout: 10s
|
||||
start_period: 2s
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user