##// END OF EJS Templates
release of new installer/docker stack updates...
release of new installer/docker stack updates Tons of changes to move towards new rccontrol docker stack based installer

File last commit:

r23:ffcea5dc
r23:ffcea5dc
Show More
docker-compose-base.yaml
46 lines | 1.1 KiB | text/x-yaml | YamlLexer
/ docker-compose-base.yaml
version: '3.9'
## Shared base stuff for all compose files in stack
x-logging: &custom-logging
# docker plugin install grafana/loki-docker-driver:latest --alias loki --grant-all-permissions
# NOTE: loki logging driver ONLY works for host type networks...
driver: loki
options:
loki-url: "http://127.0.0.1:3100/loki/api/v1/push"
#loki-url: "http://loki:3100/loki/api/v1/push"
loki-retries: "5"
loki-timeout: "1s"
loki-max-backoff: "800ms"
volumes:
# shared logvolume
logvolume:
driver: local
driver_opts:
type: none
o: bind
device: $PWD/logs
# bind-mount with configs
confvolume:
driver: local
driver_opts:
type: none
o: bind
device: $PWD/config/_shared
# SHARED volume for rhodecode caches, archive caches, nginx static,
# must be run via: docker volume create --name=rc_datavolume
rc_datavolume:
external: true
networks:
# SHARED network for all containers
# must be run via: docker network create --name=rhodecode_network
rhodecode_network:
name: rhodecode_network
driver: bridge
external: true