Lots of stuff
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user