vps/new/vps2/docker-compose.yml
2023-08-26 21:52:50 +02:00

23 lines
639 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
# TODO: create an internal network and move caddy there as well.