Skip to content

Commit

Permalink
fix docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
cpbinovo committed Aug 28, 2023
1 parent ed16c4c commit 780d274
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ services:
environment:
- USE_WORKER=true
- REDIS_URL=redis://redis:6379
- FLASK_ENV=development
worker:
restart: unless-stopped
depends_on:
- redis
build:
context: .
scale: 10
deploy:
replicas: 10
command: python -m optimizerapi.worker
environment:
- REDIS_URL=redis://redis:6379
Expand All @@ -27,10 +29,10 @@ services:
volumes:
- redis-data:/data
ui:
image: ghcr.io/boostv/process-optimizer-frontend/server:main
image: ghcr.io/boostv/process-optimizer-frontend:main
restart: unless-stopped
ports:
- 3000:3000
- 3000:80
environment:
- API_SERVER=http://api:9090/v1.0

Expand Down

0 comments on commit 780d274

Please sign in to comment.