mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2026-01-29 04:19:44 +01:00
build
This commit is contained in:
@@ -36,6 +36,16 @@ services:
|
|||||||
cors:
|
cors:
|
||||||
enabled: true
|
enabled: true
|
||||||
image: ${DOCKER_REGISTRY:-}kestra/kestra:${KESTRA_VERSION:-latest}
|
image: ${DOCKER_REGISTRY:-}kestra/kestra:${KESTRA_VERSION:-latest}
|
||||||
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: http://192.168.77.101:3100/loki/api/v1/push
|
||||||
|
loki-relabel-config: |
|
||||||
|
- action: labelmap
|
||||||
|
regex: swarm_stack
|
||||||
|
replacement: namespace
|
||||||
|
- action: labelmap
|
||||||
|
regex: swarm_(service)
|
||||||
ports:
|
ports:
|
||||||
- target: 8080
|
- target: 8080
|
||||||
published: 8980
|
published: 8980
|
||||||
@@ -82,6 +92,16 @@ services:
|
|||||||
- pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}
|
- pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
image: ${DOCKER_REGISTRY:-}postgres:16
|
image: ${DOCKER_REGISTRY:-}postgres:16
|
||||||
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: http://192.168.77.101:3100/loki/api/v1/push
|
||||||
|
loki-relabel-config: |
|
||||||
|
- action: labelmap
|
||||||
|
regex: swarm_stack
|
||||||
|
replacement: namespace
|
||||||
|
- action: labelmap
|
||||||
|
regex: swarm_(service)
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/postgresql/data
|
- db:/var/lib/postgresql/data
|
||||||
deploy:
|
deploy:
|
||||||
|
|||||||
Reference in New Issue
Block a user