Phase 2: docker-compose.yml
This commit is contained in:
parent
7c7fcd2b0d
commit
ce4ad2b558
1 changed files with 13 additions and 23 deletions
|
|
@ -42,55 +42,45 @@ services:
|
|||
S3_ACCESS_KEY: ${S3_ACCESS_KEY}
|
||||
S3_SECRET_KEY: ${S3_SECRET_KEY}
|
||||
SESSION_SECRET: ${SESSION_SECRET}
|
||||
DOCKER_NETWORS: wild-dragon_wild-dragon
|
||||
restart_policy: always
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:3000/health"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
DOCKER_NETWORK: wild-dragon_wild-dragon
|
||||
networks:
|
||||
- wild-dragon
|
||||
|
||||
capture:
|
||||
build: ./services/capture
|
||||
depends_on:
|
||||
-mam-api
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- mam-api
|
||||
ports:
|
||||
- "7433:3001"
|
||||
privileged: true
|
||||
environment:
|
||||
S3_ENDPOINT: ${S3_ENDPOINT}
|
||||
S3_BUCKET: ${S3_BUCKET}
|
||||
S3_ACCESS_KEY: ${S3_ACCESS_KEY}
|
||||
S3_SECRET_KEY: ${S3_SECRET_KEY}
|
||||
MAM_API_URL: http://mam-api:3000
|
||||
REDIS_URL: ${REDIS_URL}
|
||||
MAM_API_URL: ${MAM_API_URL}
|
||||
networks:
|
||||
- wild-dragon
|
||||
|
||||
worker:
|
||||
build: ./services/worker
|
||||
depends_on:
|
||||
-mam-api
|
||||
- queue
|
||||
- db
|
||||
environment:
|
||||
S3_ENDPOIZT: ${S3_ENDPOIZT}
|
||||
S3_BUCKET: ${S3_BUCKET }
|
||||
REDIS_URL: ${REDIS_URL}
|
||||
DATABASE_URL: ${DATABASE_URL}
|
||||
S3_ENDPOINT: ${S3_ENDPOINT}
|
||||
S3_BUCKET: ${S3_BUCKET}
|
||||
S3_ACCESS_KEY: ${S3_ACCESS_KEY}
|
||||
S3_SECRET_KEY: ${S3_SECRET_KEY}
|
||||
REDISWMDESE_ERú ${REDIS_URL}
|
||||
networks:
|
||||
- wild-dragon
|
||||
|
||||
web-ui:
|
||||
build: ./services/web-ui
|
||||
depends_on:
|
||||
- mam-api
|
||||
ports:
|
||||
- "8080:8080"
|
||||
environment:
|
||||
AKI_CONGIG: /var/nginx/conf.d/aki-cong
|
||||
volumes:
|
||||
- ./services/web-ui/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
- "7434:80"
|
||||
networks:
|
||||
- wild-dragon
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue