Skip to content

Commit

Permalink
Исправлен деплой после добавления токена notisend в бэк
Browse files Browse the repository at this point in the history
  • Loading branch information
vklachkov committed Sep 25, 2024
1 parent 85b324e commit adc8ebd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@ jobs:
host: ${{ secrets.SERVER_IP }}
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSWORD }}
script: docker compose -f /tmp/docker-compose.prod.yml up -d
script: NOTISEND_TOKEN=${{ secrets.NOTISEND_TOKEN }} docker compose -f /tmp/docker-compose.prod.yml up -d
4 changes: 4 additions & 0 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ services:
- "0.0.0.0:80"
- "--sessions-path"
- "/var/lib/backend/sessions.json"
- "--notisend-token"
- "$NOTISEND_TOKEN"
environment:
- NOTISEND_TOKEN=${NOTISEND_TOKEN}
volumes:
- "backend-data:/var/lib/backend"
networks:
Expand Down
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ services:
- "0.0.0.0:80"
- "--sessions-path"
- "/var/lib/backend/sessions.json"
- "--notisend-token"
- "$NOTISEND_TOKEN"
environment:
- NOTISEND_TOKEN=${NOTISEND_TOKEN}
volumes:
- "backend-data:/var/lib/backend"
networks:
Expand Down

0 comments on commit adc8ebd

Please sign in to comment.