Lots of stuff

This commit is contained in:
Aodhan
2025-07-08 23:04:43 +01:00
parent cfa2eff6ef
commit 65c1972c49
26 changed files with 4094 additions and 104 deletions

View File

@@ -1,16 +1,33 @@
version: "3.9"
services:
api:
build: ./backend
container_name: mogapp-api
environment:
- PSQL_HOST=10.0.0.199
- PSQL_PORT=5432
- PSQL_USER=postgres
- PSQL_PASSWORD=DP3Wv*QM#t8bY*N
- PSQL_DBNAME=ffxi_items
# Database lives on the Docker host, expose via host networking
- PSQL_HOST=${PSQL_HOST:-host.docker.internal}
- PSQL_PORT=${PSQL_PORT:-5432}
- PSQL_USER=${PSQL_USER:-postgres}
- PSQL_PASSWORD=${PSQL_PASSWORD:-postgres}
- PSQL_DBNAME=${PSQL_DBNAME:-ffxi_items}
ports:
- "8000:8000"
volumes:
- ./backend/app:/app/app
networks:
- mognet
volumes:
pgdata:
frontend:
build: ./frontend
container_name: mogapp-web
depends_on:
- api
ports:
- "3050:80"
networks:
- mognet
networks:
mognet:
driver: bridge