Skip to content

Commit

Permalink
add database to frontend docker compose (#601)
Browse files Browse the repository at this point in the history
* add database to frontend docker compose

* change frontend to postgres db
  • Loading branch information
ZombieApps authored Aug 6, 2024
1 parent 3aea8a4 commit 8de0a9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ services:
- PGID=1000
- ORIGIN=http://localhost:3000 # Set to IP or FQDN of the server
- BACKEND_URL=http://riven:8080
- DIALECT=postgres
- DATABASE_URL=postgres://postgres:postgres@riven-db/riven
- TZ=America/New_York
depends_on:
riven:
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ services:
- TZ=America/New_York
- ORIGIN=http://localhost:3000 # set to the url or ip where the frontend is hosted
- BACKEND_URL=http://riven:8080
- DIALECT=postgres
- DATABASE_URL=postgres://postgres:postgres@riven-db/riven
depends_on:
riven:
condition: service_healthy
Expand Down

0 comments on commit 8de0a9b

Please sign in to comment.