mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-04 02:46:23 +00:00
fix minor convention issues across 10 stacks
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
services:
|
||||
ntfy:
|
||||
image: ${NTFY_IMAGE:-binwiederhier/ntfy}
|
||||
image: ${NTFY_IMAGE:-binwiederhier/ntfy:latest}
|
||||
restart: ${NTFY_RESTART:-unless-stopped}
|
||||
command:
|
||||
- serve
|
||||
volumes:
|
||||
- ${VOL_PATH:-/data}/ntfy:/etc/ntfy
|
||||
- ${VOL_PATH:-/data}/ntfy-var:/var/lib/ntfy
|
||||
- ${VOL_PATH:-/data}/ntfy-cache:/var/cache/ntfy
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
- TZ=${TZ:-UTC}
|
||||
- NTFY_BASE_URL=${NTFY_BASE_URL:-http://localhost}
|
||||
@@ -16,14 +19,11 @@ services:
|
||||
ports:
|
||||
- "${NTFY_PORT:-80}:80"
|
||||
- "${NTFY_HTTP_PORT:-8080}:8080"
|
||||
volumes:
|
||||
- ${VOL_PATH:-/data}/ntfy:/etc/ntfy
|
||||
- ${VOL_PATH:-/data}/ntfy-var:/var/lib/ntfy
|
||||
- ${VOL_PATH:-/data}/ntfy-cache:/var/cache/ntfy
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
networks:
|
||||
- proxy
|
||||
- internal
|
||||
command:
|
||||
- serve
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
|
||||
Reference in New Issue
Block a user