Skip to content

Commit

Permalink
Update docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aryanbhosale committed Sep 17, 2024
1 parent 5aca983 commit e0fe064
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
services:
web:
image: ghcr.io/cegis-org/discsim # Use the GHCR image here
build:
context: .
dockerfile: Dockerfile
container_name: discsim-api
ports:
- "8000:8000"
volumes:
- .:/app # Optional: only keep if needed for live updates or sharing files
- .:/app
restart: always
environment:
- DATABASE_URL=${DATABASE_URL}
Expand Down Expand Up @@ -36,12 +38,14 @@ services:
retries: 5

streamlit:
image: ghcr.io/cegis-org/discsim:sha-fa9f907 # Also use the GHCR image for the frontend
build:
context: .
dockerfile: Dockerfile
container_name: discsim-frontend
ports:
- "8501:8501"
volumes:
- .:/app # Optional, same as above
- .:/app
restart: always
environment:
- DATABASE_URL=${DATABASE_URL}
Expand Down

0 comments on commit e0fe064

Please sign in to comment.