31 lines
717 B
YAML
31 lines
717 B
YAML
# 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:
|
|
frostbyte:
|
|
build:
|
|
context: ..
|
|
dockerfile: ./container/Containerfile
|
|
container_name: fb-server
|
|
environment:
|
|
DATABASE_URL: "postgres://CHANGEME:CHANGEME@fb-database:5432/frostbyte"
|
|
networks:
|
|
- fb_network
|
|
depends_on:
|
|
- postgres
|
|
|
|
postgres:
|
|
image: docker.io/postgres:16.1-alpine
|
|
container_name: fb-database
|
|
environment:
|
|
POSTGRES_DB: CHANGEME
|
|
POSTGRES_USER: CHANGEME
|
|
POSTGRES_PASSWORD: CHANGEME
|
|
networks:
|
|
- fb_network
|
|
|
|
networks:
|
|
fb_network:
|
|
driver: bridge
|