vps/new/vps2/docker-compose.yml
2023-08-26 22:13:30 +02:00

32 lines
914 B
YAML

version: "3.8"
services:
registry:
container_name: registry
restart: always
image: registry:2
volumes:
- "/apps/registry/config.yml:/etc/docker/registry/config.yml"
- "/apps/registry/data:/var/lib/registry"
- "/apps/registry/htpasswd:/htpasswd"
ports:
- "5000:5000"
widetom:
container_name: widetom
image: "docker.nilstrieb.dev/widetom:490c94ca"
restart: always
volumes:
- "/apps/widetom:/app/config"
environment:
CONFIG_PATH: /app/config/config.toml
BOT_TOKEN_PATH: /app/config/bot_token
killua:
container_name: killua
image: "docker.nilstrieb.dev/killua-bot:ac8203d2"
restart: always
volumes:
- "/apps/killua:/app/config"
environment:
BOT_TOKEN: "${KILLUA_BOT_TOKEN}"
KILLUA_JSON_PATH: /app/config/trivia_questions.json
# TODO: create an internal network and move caddy there as well.