mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-19 12:59:36 +02:00
chore: Update Docker and Django server configuration
This commit is contained in:
parent
d3516b1806
commit
21a935fea5
1 changed files with 5 additions and 4 deletions
|
@ -2,8 +2,8 @@ version: "3.9"
|
|||
|
||||
services:
|
||||
web:
|
||||
build:
|
||||
context: ./frontend/
|
||||
# build: ./frontend/
|
||||
image: ghcr.io/seanmorley15/adventurelog-frontend:latest
|
||||
environment:
|
||||
- PUBLIC_SERVER_URL=http://server:8000
|
||||
- ORIGIN=http://localhost:8080
|
||||
|
@ -23,7 +23,8 @@ services:
|
|||
- postgres_data:/var/lib/postgresql/data/
|
||||
|
||||
server:
|
||||
build: ./backend/
|
||||
# build: ./backend/
|
||||
image: ghcr.io/seanmorley15/adventurelog-backend:latest
|
||||
environment:
|
||||
- PGHOST=db
|
||||
- PGDATABASE=database
|
||||
|
@ -34,7 +35,7 @@ services:
|
|||
- DJANGO_ADMIN_PASSWORD=admin
|
||||
- DJANGO_ADMIN_EMAIL=admin@example.com
|
||||
- PUBLIC_URL='http://127.0.0.1:8000'
|
||||
- DEBUG=False
|
||||
- DEBUG=True
|
||||
ports:
|
||||
- "8000:8000"
|
||||
depends_on:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue