Fixing ovious error in composefile
This commit is contained in:
parent
a2064b440d
commit
b0113aa985
1 changed files with 6 additions and 7 deletions
|
@ -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"
|
version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
@ -10,19 +7,21 @@ services:
|
||||||
dockerfile: ./container/Containerfile
|
dockerfile: ./container/Containerfile
|
||||||
container_name: fb-server
|
container_name: fb-server
|
||||||
environment:
|
environment:
|
||||||
DATABASE_URL: "postgres://CHANGEME:CHANGEME@fb-database:5432/frostbyte"
|
DATABASE_URL: "postgres://fbuser:CHANGEMETOASECUREPASSWD@fb-database:5432/frostbyte"
|
||||||
networks:
|
networks:
|
||||||
- fb_network
|
- fb_network
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
|
ports:
|
||||||
|
- "8080:8080"
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: docker.io/postgres:16.1-alpine
|
image: docker.io/postgres:16.1-alpine
|
||||||
container_name: fb-database
|
container_name: fb-database
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: CHANGEME
|
POSTGRES_DB: frostbyte
|
||||||
POSTGRES_USER: CHANGEME
|
POSTGRES_USER: fbuser
|
||||||
POSTGRES_PASSWORD: CHANGEME
|
POSTGRES_PASSWORD: CHANGEMETOASECUREPASSWD
|
||||||
networks:
|
networks:
|
||||||
- fb_network
|
- fb_network
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue