diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e9c8874..a9e2d11 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 \ No newline at end of file + script: NOTISEND_TOKEN=${{ secrets.NOTISEND_TOKEN }} docker compose -f /tmp/docker-compose.prod.yml up -d \ No newline at end of file diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index f3a7a38..ada4006 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -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: diff --git a/docker-compose.yml b/docker-compose.yml index 69753d1..6c6cc02 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: