##// END OF EJS Templates
svn: change apache run command
svn: change apache run command

File last commit:

r238:5aea313e
r259:b3bdfa1f
Show More
docker-compose-router.yaml
44 lines | 1.3 KiB | text/x-yaml | YamlLexer
/ docker-compose-router.yaml
release of new installer/docker stack updates...
r23 version: '3.9'
x-logging: &custom-logging
loki: small docs on logging driver
r47 # docker plugin install grafana/loki-docker-driver:2.7.1 --alias loki --grant-all-permissions
release of new installer/docker stack updates...
r23 # NOTE: loki logging driver ONLY works for host type networks...
driver: loki
options:
stack: enable auth for loki as it needs public exposure...
r57 #loki-url: "http://${RC_LOKI_AUTH}loki:3100/loki/api/v1/push"
loki-url: "http://${RC_LOKI_AUTH}127.0.0.1:3100/loki/api/v1/push"
release of new installer/docker stack updates...
r23 loki-retries: "5"
loki-timeout: "1s"
loki-max-backoff: "800ms"
## docker network create -d overlay lb-net
services:
traefik:
router: add restart policy
r69 restart: always
router: bumped traefik
r238 image: traefik:v2.10.4
release of new installer/docker stack updates...
r23
ports:
# The HTTP port, exposed as http entrypoint
- "80:80"
# The HTTPS port, exposed as https entrypoint
- "443:443"
docker: multiple changes...
r73 # The loki port, exposed as loki entrypoint behind auth
stack: enable auth for loki as it needs public exposure...
r57 - "3100:3100"
docker: multiple changes...
r73 # The SSH port exposed as sshd entrypoint, default 9022
- "${RC_SSH_PORT:-9022}:${RC_SSH_PORT:-9022}"
release of new installer/docker stack updates...
r23 volumes:
# So that Traefik can listen to the Docker events
- /var/run/docker.sock:/var/run/docker.sock
- ./config/traefik:/etc/traefik
docker: multiple changes...
r73 - ./config/traefik/dynamic:/etc/traefik_dynamic
release of new installer/docker stack updates...
r23 deploy:
placement:
constraints:
# limit swarm deploy to MANAGER only
- node.role == manager
networks:
- rhodecode_network
traefik: disable loki-logs...
r123 # logging:
# *custom-logging