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:
|
services:
|
||||||
web:
|
web:
|
||||||
build:
|
# build: ./frontend/
|
||||||
context: ./frontend/
|
image: ghcr.io/seanmorley15/adventurelog-frontend:latest
|
||||||
environment:
|
environment:
|
||||||
- PUBLIC_SERVER_URL=http://server:8000
|
- PUBLIC_SERVER_URL=http://server:8000
|
||||||
- ORIGIN=http://localhost:8080
|
- ORIGIN=http://localhost:8080
|
||||||
|
@ -23,7 +23,8 @@ services:
|
||||||
- postgres_data:/var/lib/postgresql/data/
|
- postgres_data:/var/lib/postgresql/data/
|
||||||
|
|
||||||
server:
|
server:
|
||||||
build: ./backend/
|
# build: ./backend/
|
||||||
|
image: ghcr.io/seanmorley15/adventurelog-backend:latest
|
||||||
environment:
|
environment:
|
||||||
- PGHOST=db
|
- PGHOST=db
|
||||||
- PGDATABASE=database
|
- PGDATABASE=database
|
||||||
|
@ -34,7 +35,7 @@ services:
|
||||||
- DJANGO_ADMIN_PASSWORD=admin
|
- DJANGO_ADMIN_PASSWORD=admin
|
||||||
- DJANGO_ADMIN_EMAIL=admin@example.com
|
- DJANGO_ADMIN_EMAIL=admin@example.com
|
||||||
- PUBLIC_URL='http://127.0.0.1:8000'
|
- PUBLIC_URL='http://127.0.0.1:8000'
|
||||||
- DEBUG=False
|
- DEBUG=True
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue