Commit 05b0badc authored by kaiyou's avatar kaiyou

Add a database for seafile

parent 6f6e6eb2
......@@ -82,10 +82,20 @@ services:
- traefik.frontend.rule=Host:seafile.${hostname}
- traefik.port=80
environment:
- DB_HOST=db
- DB_ROOT_PASSWD=test
- SEAFILE_SERVER_HOSTNAME=seafile.${hostname}
volumes:
- ./seafile:/shared
db:
image: mariadb:10.1
environment:
- MYSQL_ROOT_PASSWORD=test
volumes:
- ./db:/var/lib/mysql
networks:
default:
enable_ipv6: true
......
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