Comment base compose
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
services:
|
services:
|
||||||
|
# All services should at least use this
|
||||||
base-service:
|
base-service:
|
||||||
|
# Always restart unless explicitly stopped
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
# Send the logs to a Loki instance with ability to fail
|
||||||
logging:
|
logging:
|
||||||
driver: loki
|
driver: loki
|
||||||
options:
|
options:
|
||||||
@@ -10,6 +13,7 @@ services:
|
|||||||
loki-timeout: 1s
|
loki-timeout: 1s
|
||||||
keep-file: 'true'
|
keep-file: 'true'
|
||||||
|
|
||||||
|
# Service exposed via the reverse proxy
|
||||||
exposed-service:
|
exposed-service:
|
||||||
extends: base-service
|
extends: base-service
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user