Files
main-tbbank/backend/deployment/docker-compose.prod.yaml
2026-08-04 12:50:20 +05:00

12 lines
497 B
YAML

# Production override: points main-server at the pre-built image from the
# self-hosted registry and adds the Watchtower label so it gets auto-updated.
#
# Deploy on the VPS with:
# docker compose -f docker-compose.yaml -f deployment/docker-compose.prod.yaml pull main-server
# docker compose -f docker-compose.yaml -f deployment/docker-compose.prod.yaml up -d
services:
main-server:
image: localhost:5000/bankline:latest
labels:
- "com.centurylinklabs.watchtower.enable=true"