Skip to content

Commit

Permalink
feat: modify docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
oriolagobat committed Nov 6, 2023
1 parent 0407fb5 commit b7b2bbc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ services:
args:
- BACKEND_URL=${FRONTEND_API_URL}

refuapp-supervisor-frontend:
build:
args:
- BACKEND_URL=${FRONTEND_API_URL}
postgres:
volumes:
- postgres_data:/var/lib/postgresql/data
Expand Down
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,15 @@ services:
depends_on:
- refuapp-backend

refuapp-supervisor-frontend:
build:
context: ./refuapp-supervisor
dockerfile: Dockerfile
args:
- BACKEND_URL=${FRONTEND_API_URL}
depends_on:
- refuapp-backend

sensors_db:
image: postgres:latest
environment:
Expand Down

0 comments on commit b7b2bbc

Please sign in to comment.