Skip to content

Commit e31fca6

Browse files
committed
Move watchtower hostname into .env
1 parent e2f9828 commit e31fca6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

deployment/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ services:
7979
restart: always
8080
environment:
8181
WATCHTOWER_NOTIFICATIONS: 'shoutrrr'
82-
WATCHTOWER_NOTIFICATIONS_HOSTNAME: eventyay-next
82+
WATCHTOWER_NOTIFICATIONS_HOSTNAME: ${WATCHTOWER_NOTIFICATIONS_HOSTNAME}
8383
WATCHTOWER_POLL_INTERVAL: 600
8484
WATCHTOWER_NOTIFICATION_URL: ${WATCHTOWER_NOTIFICATION_URL}
8585
command: watchtower eventyay-next-web eventyay-next-websocket eventyay-next-worker --cleanup

deployment/env.prod-sample

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ POSTGRES_PASSWORD=CHANGEME_pass
88
POSTGRES_HOST=eventyay-next-db
99
POSTGRES_PORT=5432
1010
WATCHTOWER_NOTIFICATION_URL=
11+
WATCHTOWER_NOTIFICATIONS_HOSTNAME=some-hostname

0 commit comments

Comments
 (0)