Merge pull request #3 from Arrelin/feature/ci-cd-update

init
This commit is contained in:
Arrelin
2025-12-26 23:57:17 +03:00
committed by GitHub
2 changed files with 11 additions and 2 deletions

View File

@@ -12,3 +12,10 @@ DOMAIN=yourdomain.com
EMAIL=your@email.com
ALLOWED_ORIGINS=https://yourdomain.com
GITHUB_USERNAME=your_github_username
GITHUB_TOKEN=your_github_personal_access_token
OWNER=your_github_username
REPO_USER=your_github_username
REPO_PASS=your_github_personal_access_token

View File

@@ -1,5 +1,3 @@
version: '3.8'
services:
postgres:
image: postgres:16-alpine
@@ -14,6 +12,7 @@ services:
- postgres_data:/var/lib/postgresql/data
networks:
- app_network
restart: unless-stopped
backend:
image: ghcr.io/${OWNER:-${COMPOSE_PROJECT_NAME}}/family_budget-backend:latest
@@ -26,6 +25,7 @@ services:
- postgres
networks:
- app_network
restart: unless-stopped
frontend:
image: ghcr.io/${OWNER:-${COMPOSE_PROJECT_NAME}}/family_budget-frontend:latest
@@ -34,6 +34,7 @@ services:
- backend
networks:
- app_network
restart: unless-stopped
nginx:
image: nginx:alpine
@@ -66,6 +67,7 @@ services:
container_name: family_budget_watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./docker-config.json:/config.json:ro
environment:
- WATCHTOWER_POLL_INTERVAL=300
- WATCHTOWER_CLEANUP=true