FrostByte/container/docker-compose.yml

32 lines
717 B
YAML
Raw Permalink Normal View History

2024-02-27 03:02:24 +01:00
# This composefile is not yet ready for use.
# This is because the application assumes the database to be migrated, which happens manually.
2024-02-27 02:30:59 +01:00
version: "3.8"
services:
frostbyte:
2024-02-27 02:49:28 +01:00
build:
context: ..
dockerfile: ./container/Containerfile
2024-02-27 02:30:59 +01:00
container_name: fb-server
2024-02-27 02:49:28 +01:00
environment:
2024-02-27 03:02:24 +01:00
DATABASE_URL: "postgres://CHANGEME:CHANGEME@fb-database:5432/frostbyte"
2024-02-27 02:30:59 +01:00
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