mirror of
https://github.com/Fluffy-Bean/GameExpo23.git
synced 2025-05-28 05:43:11 +00:00
56 lines
1.2 KiB
YAML
56 lines
1.2 KiB
YAML
version: "3.9"
|
|
|
|
services:
|
|
caddy:
|
|
image: caddy:alpine
|
|
restart: unless-stopped
|
|
ports:
|
|
# - "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- ./Caddy/Caddyfile:/etc/caddy/Caddyfile
|
|
- ./Caddy/data:/data
|
|
- ./Caddy/config:/config
|
|
environment:
|
|
DOMAIN_HIGHSCORE: tfr.leggy.dev
|
|
DOMAIN_EXPO: expo.leggy.dev
|
|
links:
|
|
- highscore
|
|
- expo
|
|
|
|
db:
|
|
image: postgres:alpine
|
|
restart: unless-stopped
|
|
# ports:
|
|
# - "5432:5432"
|
|
volumes:
|
|
- ./Postgres/data:/var/lib/postgresql/data
|
|
environment:
|
|
POSTGRES_USER: pguser
|
|
POSTGRES_PASSWORD: secret
|
|
POSTGRES_DB: database
|
|
links:
|
|
- highscore
|
|
|
|
highscore:
|
|
build: ./Highscore-Server
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./Highscore-Server/storage:/data/storage
|
|
- ./Highscore-Server/logs:/data/logs
|
|
environment:
|
|
FLASK_KEY: secret
|
|
BEARER_TOKEN: 1234
|
|
DB_USER: pguser
|
|
DB_PASSWORD: secret
|
|
DB_HOST: db
|
|
DB_NAME: database
|
|
|
|
expo:
|
|
build: ./DV8-Expo
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./DV8-Expo/storage:/data/storage
|
|
- ./DV8-Expo/logs:/data/logs
|
|
environment:
|
|
FLASK_KEY: secret
|