Files
cardy/docker/compose.example.yml
2026-10-08 11:03:52 +03:00

32 lines
963 B
YAML

# Example deployment. Put the reverse proxy (Authelia on /api/admin) in front, as described in README.
services:
server-be:
image: git.aggtaa.com/anton/cardy-server-be:main
restart: unless-stopped
environment:
KEY_ENCRYPTION_SECRET: ${KEY_ENCRYPTION_SECRET}
SUPERADMIN_EMAIL: ${SUPERADMIN_EMAIL}
ADMIN_PROXY_SECRET: ${ADMIN_PROXY_SECRET} # the container listens on 0.0.0.0, so set it
PUBLIC_API_URL: https://dev.aggtaa.com/api
volumes:
- cardy-data:/data
ports:
- "127.0.0.1:10002:10002"
server-fe:
image: git.aggtaa.com/anton/cardy-server-fe:main
restart: unless-stopped
ports:
- "127.0.0.1:10001:10001"
mobile-client:
image: git.aggtaa.com/anton/cardy-mobile-client:main
restart: unless-stopped
volumes:
- ./updates/android:/updates:ro # output of `publish:android` / `publish:android-apk`
ports:
- "127.0.0.1:10003:10003"
volumes:
cardy-data: