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-03-07 08:27:46 +01:00
|
|
|
DATABASE_URL: "postgres://fbuser:CHANGEMETOASECUREPASSWD@fb-database:5432/frostbyte"
|
2024-02-27 02:30:59 +01:00
|
|
|
networks:
|
|
|
|
- fb_network
|
|
|
|
depends_on:
|
|
|
|
- postgres
|
2024-03-07 08:27:46 +01:00
|
|
|
ports:
|
|
|
|
- "8080:8080"
|
2024-02-27 02:30:59 +01:00
|
|
|
|
|
|
|
postgres:
|
|
|
|
image: docker.io/postgres:16.1-alpine
|
|
|
|
container_name: fb-database
|
|
|
|
environment:
|
2024-03-07 08:27:46 +01:00
|
|
|
POSTGRES_DB: frostbyte
|
|
|
|
POSTGRES_USER: fbuser
|
|
|
|
POSTGRES_PASSWORD: CHANGEMETOASECUREPASSWD
|
2024-02-27 02:30:59 +01:00
|
|
|
networks:
|
|
|
|
- fb_network
|
|
|
|
|
|
|
|
networks:
|
|
|
|
fb_network:
|
|
|
|
driver: bridge
|