Fixing ovious error in composefile

This commit is contained in:
Imbus 2024-03-07 08:27:46 +01:00
parent a2064b440d
commit b0113aa985

View file

@ -1,6 +1,3 @@
# This composefile is not yet ready for use.
# This is because the application assumes the database to be migrated, which happens manually.
version: "3.8"
services:
@ -10,19 +7,21 @@ services:
dockerfile: ./container/Containerfile
container_name: fb-server
environment:
DATABASE_URL: "postgres://CHANGEME:CHANGEME@fb-database:5432/frostbyte"
DATABASE_URL: "postgres://fbuser:CHANGEMETOASECUREPASSWD@fb-database:5432/frostbyte"
networks:
- fb_network
depends_on:
- postgres
ports:
- "8080:8080"
postgres:
image: docker.io/postgres:16.1-alpine
container_name: fb-database
environment:
POSTGRES_DB: CHANGEME
POSTGRES_USER: CHANGEME
POSTGRES_PASSWORD: CHANGEME
POSTGRES_DB: frostbyte
POSTGRES_USER: fbuser
POSTGRES_PASSWORD: CHANGEMETOASECUREPASSWD
networks:
- fb_network