mirror of
https://github.com/getlago/lago.git
synced 2025-01-05 13:08:00 +07:00
cd: add clock to docker-compose
This commit is contained in:
parent
521149113c
commit
96bd1a80f5
2
api
2
api
@ -1 +1 @@
|
||||
Subproject commit 10e4acdbfb6bda4376b0cb13dfd00011adfd90c3
|
||||
Subproject commit 644f62f2d72bb260ffd633495586f1ccb0dcdd8a
|
@ -76,6 +76,7 @@ services:
|
||||
image: api
|
||||
container_name: lago_api
|
||||
restart: unless-stopped
|
||||
command: ["./scripts/start.dev.sh"]
|
||||
build:
|
||||
context: ./api
|
||||
dockerfile: $LAGO_PATH/api/Dockerfile.dev
|
||||
@ -97,15 +98,30 @@ services:
|
||||
- "traefik.http.services.api.loadbalancer.server.port=3000"
|
||||
|
||||
api-worker:
|
||||
image: api-worker
|
||||
image: api
|
||||
container_name: lago_api_worker
|
||||
restart: unless-stopped
|
||||
command: ["./scripts/start.worker.dev.sh"]
|
||||
build:
|
||||
context: ./api
|
||||
dockerfile: $LAGO_PATH/api/Dockerfile.worker.dev
|
||||
dockerfile: $LAGO_PATH/api/Dockerfile.dev
|
||||
volumes:
|
||||
- $LAGO_PATH/api:/app
|
||||
environment:
|
||||
- DATABASE_URL=postgresql://${POSTGRES_USER:-lago}:${POSTGRES_PASSWORD:-changeme}@db:5432/${POSTGRES_DB:-lago}
|
||||
- REDIS_URL=redis://redis:6379
|
||||
|
||||
api-clock:
|
||||
image: api
|
||||
container_name: lago_api_clock
|
||||
restart: unless-stopped
|
||||
command: ["./scripts/start.clock.dev.sh"]
|
||||
build:
|
||||
context: ./api
|
||||
dockerfile: $LAGO_PATH/api/Dockerfile.dev
|
||||
volumes:
|
||||
- $LAGO_PATH/api:/app
|
||||
environment:
|
||||
- DATABASE_URL=postgresql://${POSTGRES_USER:-lago}:${POSTGRES_PASSWORD:-changeme}@db:5432/${POSTGRES_DB:-lago}
|
||||
- REDIS_URL=redis://redis:6379
|
||||
|
Loading…
Reference in New Issue
Block a user