Commit f61ae304 authored by kaiyou's avatar kaiyou

Update outdated configs

parent d7eb3076
......@@ -3,9 +3,9 @@ version: '2.1'
services:
auth:
image: docker.tedomum.net/tedomum/trurt:master
image: docker.tedomum.net/acides/hiboo:master
volumes:
- ./trurt.db:/tmp/trurt.db
- ./hiboo.db:/tmp/hiboo.db
labels:
- traefik.enable=true
- traefik.frontend.rule=Host:${hostname}
......@@ -13,6 +13,25 @@ services:
- traefik.frontend.headers.STSSeconds=315360000
- traefik.frontend.headers.browserXSSFilter=true
- traefik.frontend.headers.customResponseHeaders=Server:www||X-Powered-By:www
environment:
- AUTHLIB_INSECURE_TRANSPORT=1
- MAIL_DOMAIN
- API_TOKEN
- SECRET_KEY
- SQLALCHEMY_DATABASE_URI=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db/${POSTGRES_USER}
db:
image: postgres:11
volumes:
- ./db:/var/lib/postgresql/data
- ./wal:/wal
- ./postgresql.conf:/var/lib/postgresql/data/postgresql.conf
environment:
- POSTGRES_USER
- POSTGRES_PASSWORD
redis:
image: redis:latest
networks:
......
......@@ -22,6 +22,11 @@ services:
- traefik.main.frontend.headers.frameDeny=true
- traefik.main.frontend.headers.browserXSSFilter=true
- traefik.main.frontend.headers.customResponseHeaders=Server:www||X-Powered-By:www
- traefik.internal.frontend.rule=Host:${internalhosts}
- traefik.internal.frontend.headers.STSSeconds=315360000
- traefik.internal.frontend.headers.frameDeny=true
- traefik.internal.frontend.headers.browserXSSFilter=true
- traefik.internal.frontend.headers.customResponseHeaders=Server:www||X-Powered-By:www
- traefik.others.frontend.rule=Host:${extrahosts}
- traefik.others.frontend.headers.STSSeconds=315360000
- traefik.others.frontend.headers.frameDeny=true
......
......@@ -32,6 +32,12 @@ services:
- ./apps:/var/www/html/apps
- ./custom_apps:/var/www/html/custom_apps
cron:
image: nextcloud:18
volumes_from:
- nextcloud
entrypoint: /cron.sh
networks:
default:
......
......@@ -2,16 +2,34 @@ version: '2.1'
services:
seafile:
image: seafileltd/seafile
image: seafileltd/seafile-mc
labels:
- traefik.enable=true
- traefik.frontend.rule=Host:${hostname}
- traefik.port=80
environment:
- SEAFILE_SERVER_HOSTNAME=${hostname}
- DB_HOST=db
- DB_ROOT_PASSWD
volumes:
- ./data:/shared
db:
image: mariadb
volumes:
- ./db:/var/lib/mysql
- ./wal:/wal
command: --log-bin=/wal/mariadb-bin
environment:
- MYSQL_ROOT_PASSWORD
- MYSQL_DATABASE
- MYSQL_USER
- MYSQL_PASSWORD
memcached:
image: memcached:1.5.6
entrypoint: memcached -m 256
networks:
default:
enable_ipv6: true
......
......@@ -20,6 +20,8 @@ services:
ports:
- "${ipv4}:22:22"
- "${ipv6}:22:22"
- "${pages_ipv4}:80:8480"
- "${pages_ipv4}:443:8443"
networks:
default:
......
......@@ -14,7 +14,7 @@ services:
- ./data/ogn:/data
telegram:
image: tulir/mautrix-telegram:latest
image: dock.mau.dev/tulir/mautrix-telegram:latest
labels:
- traefik.enable=true
- traefik.frontend.rule=Host:matrix-telegram.tedomum.net
......
......@@ -20,6 +20,7 @@ services:
volumes:
- ./db:/var/lib/mysql
- ./wal:/wal
- ./my.cnf:/etc/mysql/conf.d/custom.cnf
command: --log-bin=/wal/mysql-bin --server-id=1
environment:
- MYSQL_DATABASE=${DB_DATABASE}
......
......@@ -48,6 +48,10 @@ sans = ["tedomum.net"]
main = "*.blogs.tedomum.net"
sans = []
[[acme.domains]]
main = "*.tedomum.org"
sans = ["tedomum.org"]
[metrics]
[metrics.prometheus]
entryPoint = "traefik"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment