FrostByte/container/docker-compose.yml

29 lines
576 B
YAML
Raw Normal View History

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:
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