-
-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathdocker-compose.yml
30 lines (29 loc) · 1.14 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
services:
auto-rsa:
container_name: auto-rsa
image: docker.io/nelsondane/auto-rsa:latest # or change to other branch you want to use
# build: . # uncomment this line if you want to build the image locally with "docker compose up -d --build"
restart: unless-stopped
env_file:
- .env
tty: true
volumes:
- ./creds:/app/creds
watchtower:
# Auto update the auto-rsa container every hour
# For more info see: https://containrrr.dev/watchtower/arguments/
image: containrrr/watchtower
container_name: watchtower
hostname: auto-rsa
environment:
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_INCLUDE_STOPPED=true
- WATCHTOWER_POLL_INTERVAL=3600
# For more info on notifications see: https://containrrr.dev/watchtower/notifications/
# - WATCHTOWER_NOTIFICATIONS=shoutrrr
# - WATCHTOWER_NOTIFICATION_URL=discord://TOKEN@WEBHOOKID
command:
- auto-rsa
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped