FrostByte/container/docker-compose.yml
2024-03-07 08:27:46 +01:00

30 lines
635 B
YAML

version: "3.8"
services:
frostbyte:
build:
context: ..
dockerfile: ./container/Containerfile
container_name: fb-server
environment:
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: frostbyte
POSTGRES_USER: fbuser
POSTGRES_PASSWORD: CHANGEMETOASECUREPASSWD
networks:
- fb_network
networks:
fb_network:
driver: bridge