Compare commits

...

3 commits

Author SHA1 Message Date
Yann Verry 27ce226d97 add drone 2022-10-29 23:17:57 +02:00
Yann Verry 2aa1b6854e update 2022-10-18 23:19:52 +02:00
Yann Verry 1c44d59a52 add dendrite 2022-10-03 21:56:58 +02:00
2 changed files with 53 additions and 36 deletions

View file

@ -1,4 +0,0 @@
# Docker-compose
This repo contains docker compose on verry.org compute network ;-)

View file

@ -50,32 +50,26 @@ services:
volumes: volumes:
- ssl:/ssl:ro - ssl:/ssl:ro
- /etc/haproxy:/usr/local/etc/haproxy:ro - /etc/haproxy:/usr/local/etc/haproxy:ro
ports: - /etc/haproxy:/etc/haproxy:ro
- 8443:443
- 8443:443/udp
- 8000:80
restart: always
mem_limit: 128M
dns: fd00::3:2
networks:
default:
ipv6_address: 2a01:e0a:5b7:35f1::8443
caddy:
image: caddy:alpine
volumes:
- ssl:/etc/dehydrated:ro
- /etc/caddy:/etc/caddy
- /srv/www:/srv/www
ports: ports:
- 443:443 - 443:443
- 443:443/udp - 443:443/udp
- 80:80 - 80:80
restart: always restart: always
mem_limit: 128M mem_limit: 128M
dns: 192.168.3.2 dns: fd00::3:2
networks: networks:
default: default:
ipv6_address: 2a01:e0a:5b7:35f1::443 ipv6_address: 2a01:e0a:5b7:35f1::443
caddy:
image: caddy:alpine
volumes:
- ssl:/etc/dehydrated:ro
- /etc/caddy:/etc/caddy
- /srv/www:/srv/www
restart: always
mem_limit: 128M
dns: 192.168.3.2
redis: redis:
image: redis:alpine image: redis:alpine
restart: always restart: always
@ -133,6 +127,13 @@ services:
- /srv/docker/volume/grafana.ini:/etc/grafana/grafana.ini - /srv/docker/volume/grafana.ini:/etc/grafana/grafana.ini
restart: always restart: always
mem_limit: 128M mem_limit: 128M
loki:
image: grafana/loki
volumes:
- /srv/docker/volume/loki/config/loki-docker-config.yaml:/etc/loki/local-config.yaml:ro
- /srv/docker/volume/loki/data:/loki:rw
restart: always
mem_limit: 1G
miniflux: miniflux:
image: miniflux/miniflux image: miniflux/miniflux
env_file: env/miniflux env_file: env/miniflux
@ -240,16 +241,6 @@ services:
networks: networks:
default: default:
ipv6_address: 2a01:e0a:5b7:35f1::514 ipv6_address: 2a01:e0a:5b7:35f1::514
linky-exporter:
userns_mode: "host"
image: debian:bullseye-slim
volumes:
- /srv/docker/volume/teleinfo/linky-exporter:/linky:ro
command: /linky/linky-exporter --device="/dev/ttyUSB0" -b 1200 --parity="E"
restart: always
mem_limit: 128M
devices:
- "/dev/ttyUSB0:/dev/ttyUSB0"
victoria: victoria:
image: victoriametrics/victoria-metrics image: victoriametrics/victoria-metrics
volumes: volumes:
@ -284,11 +275,6 @@ services:
restart: always restart: always
mem_limit: 128M mem_limit: 128M
env_file: env/routeros-exporter env_file: env/routeros-exporter
synapse:
image: matrixdotorg/synapse:latest
volumes:
- /srv/docker/volume/synapse/data:/data
restart: always
whoami: whoami:
image: traefik/whoami image: traefik/whoami
restart: always restart: always
@ -301,6 +287,41 @@ services:
restart: always restart: always
mem_limit: 128M mem_limit: 128M
env_file: env/vaultwarden env_file: env/vaultwarden
drone:
image: drone/drone:2
restart: always
env_file: env/drone
drone-runner-ssh:
image: drone/drone-runner-ssh
restart: always
env_file: env/drone-runner-ssh
minio:
image: minio/minio
volumes:
- /srv/docker/volume/minio/data:/data:rw
env_file: env/minio
restart: always
command: minio server /data
mem_limit: 1G
cpus: 0.5
dendrite:
image: matrixdotorg/dendrite-monolith:latest
volumes:
- /srv/docker/volume/dendrite/dendrite.yaml:/etc/dendrite/dendrite.yaml:ro
- /srv/docker/volume/dendrite/cert:/cert:ro
- /srv/docker/volume/dendrite/media:/var/dendrite/media
restart: always
mem_limit: 1G
cpus: 0.5
coraza-spoa:
image: alpine
volumes:
- /srv/docker/volume/coraza-spoa/bin/coraza-spoa_amd64:/coraza-spoa:ro
- /srv/docker/volume/coraza-spoa/config:/etc/coraza-spoa:ro
command: /coraza-spoa -config-file /etc/coraza-spoa/config.yml
restart: always
mem_limit: 1G
cpus: 0.5
geoipupdate: geoipupdate:
image: "maxmindinc/geoipupdate:latest" image: "maxmindinc/geoipupdate:latest"
volumes: volumes: