Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nuodocker --servers-ready-timeout to Docker Compose #16

Merged
merged 1 commit into from
Nov 24, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,30 @@ services:
environment:
NUODB_DOMAIN_ENTRYPOINT: nuoadmin1
hostname: nuoadmin1
restart: unless-stopped
command: ["nuoadmin"]
sm:
image: $DOCKER_IMAGE
hostname: sm
restart: unless-stopped
environment:
NUOCMD_API_SERVER: nuoadmin1:8888
depends_on:
- nuoadmin1
command: ["nuodocker", "start", "sm", "--db-name", "hockey", "--server-id", "nuoadmin1", "--dba-user", "dba", "--dba-password", "goalie"]
command: ["nuodocker", "start", "sm", "--db-name", "hockey", "--server-id", "nuoadmin1",
"--dba-user", "dba", "--dba-password", "goalie",
"--servers-ready-timeout", "60"]
te:
image: $DOCKER_IMAGE
hostname: te
restart: unless-stopped
environment:
NUOCMD_API_SERVER: nuoadmin1:8888
depends_on:
- nuoadmin1
- sm
command: ["nuodocker", "start", "te", "--db-name", "hockey", "--server-id", "nuoadmin1"]
command: ["nuodocker", "start", "te", "--db-name", "hockey", "--server-id", "nuoadmin1",
"--servers-ready-timeout", "60"]
influxdb:
image: influxdb:latest
ports:
Expand All @@ -31,6 +37,7 @@ services:
- "8082:8082"
nuocd-sm:
build: .
restart: unless-stopped
depends_on:
- nuoadmin1
- sm
Expand All @@ -42,6 +49,7 @@ services:
pid: 'service:sm'
nuocd-te:
build: .
restart: unless-stopped
depends_on:
- nuoadmin1
- sm
Expand All @@ -53,6 +61,7 @@ services:
pid: 'service:te'
nuocd-admin1:
build: .
restart: unless-stopped
depends_on:
- nuoadmin1
- influxdb
Expand Down