1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-19 04:49:37 +02:00

chore: Update Docker and Django server configuration

This commit is contained in:
Sean Morley 2024-07-09 08:41:15 -04:00
parent d3516b1806
commit 21a935fea5

View file

@ -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: