Skip to content

Commit

Permalink
add docker-compose
Browse files Browse the repository at this point in the history
for use with watchtower to auto-update containers
  • Loading branch information
SandroBarillaPXL committed Oct 2, 2024
1 parent e049779 commit 358af33
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules/
node_modules/
pushbullet_access_token.txt
23 changes: 23 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: "3"
services:
website:
container_name: expertlab
image: sandropxl/expertlab:latest
ports:
- 8500:80
watchtower:
container_name: watchtower
image: containrrr/watchtower
environment:
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_NOTIFICATIONS=shoutrrr
- WATCHTOWER_NOTIFICATION_URL=/run/secrets/pushbullet_access_token
- WATCHTOWER_SCHEDULE=*/15 * * * * *
volumes:
- /etc/localtime:/etc/localtime
- /var/run/docker.sock:/var/run/docker.sock
secrets:
- pushbullet_access_token
secrets:
pushbullet_access_token:
file: ./pushbullet_access_token.txt

0 comments on commit 358af33

Please sign in to comment.