Skip to content

Commit

Permalink
fix restart and secret key
Browse files Browse the repository at this point in the history
  • Loading branch information
nllong committed Oct 18, 2023
1 parent c10db3c commit 6c97517
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ services:
volumes:
- buildingsync_pgdata:/var/lib/postgresql/data
- $HOME/buildingsync-website-backups:/backups
restart: unless-stopped
deploy:
restart_policy:
condition: on-failure
Expand All @@ -47,6 +48,7 @@ services:
- "8082:80"
volumes:
- buildingsync_media:/srv/buildingsync-website/bsyncviewer/media
restart: unless-stopped
deploy:
restart_policy:
condition: on-failure
Expand Down
2 changes: 1 addition & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ below on production, only for testing locally.
export BUILDINGSYNC_WEBSITE_ADMIN_USER=admin
export BUILDINGSYNC_WEBSITE_ADMIN_PASSWORD=super-secret-password
export [email protected]
export SECRET_KEY=Super-Long-Secret-Key-From-Step-Above
export SECRET_KEY="Super-Long-Secret-Key-From-Step-Above"
```

- Build the containers and Deploy
Expand Down

0 comments on commit 6c97517

Please sign in to comment.