modified
This commit is contained in:
15
.gitignore
vendored
Normal file
15
.gitignore
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# Ignore everything in the volumes/html directory
|
||||||
|
volumes/*
|
||||||
|
|
||||||
|
# But not these directories
|
||||||
|
!volumes/seafile-data
|
||||||
|
!volumes/seafile-mariadb
|
||||||
|
!volumes/seafile-memcached
|
||||||
|
|
||||||
|
# Ignore contents of these directories
|
||||||
|
volumes/seafile-data/*
|
||||||
|
volumes/seafile-mariadb/*
|
||||||
|
volumes/seafile-memcached/*
|
||||||
|
|
||||||
|
# Do not ignore a special file name
|
||||||
|
!.gitkeep
|
||||||
46
docker-compose.yml
Normal file
46
docker-compose.yml
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
seafile:
|
||||||
|
image: seafileltd/seafile-mc:latest
|
||||||
|
container_name: seafile
|
||||||
|
restart: "on-failure"
|
||||||
|
volumes:
|
||||||
|
- ./volumes/seafile-data:/shared
|
||||||
|
environment:
|
||||||
|
- DB_HOST=seafile-mariadb
|
||||||
|
- DB_ROOT_PASSWD=Fk%Bysffpw5ob2t@
|
||||||
|
- TIME_ZONE="Europe/Berlin"
|
||||||
|
- SEAFILE_ADMIN_EMAIL=acc@zinomedia.de
|
||||||
|
- SEAFILE_ADMIN_PASSWORD=&u4irA*F5PJ8YRdd
|
||||||
|
- SEAFILE_SERVER_LETSENCRYPT=false
|
||||||
|
- SEAFILE_SERVER_HOSTNAME=seafile.zinomedia.de
|
||||||
|
depends_on:
|
||||||
|
- seafile-mariadb
|
||||||
|
- seafile-memcached
|
||||||
|
networks:
|
||||||
|
- web
|
||||||
|
|
||||||
|
seafile-mariadb:
|
||||||
|
image: mariadb:latest
|
||||||
|
container_name: seafile-mariadb
|
||||||
|
restart: "on-failure"
|
||||||
|
environment:
|
||||||
|
- MYSQL_ROOT_PASSWORD=Fk%Bysffpw5ob2t@
|
||||||
|
- MYSQL_LOG_CONSOLE=true
|
||||||
|
volumes:
|
||||||
|
- ./volumes/seafile-mariadb/db:/var/lib/mysql
|
||||||
|
networks:
|
||||||
|
- web
|
||||||
|
|
||||||
|
seafile-memcached:
|
||||||
|
image: memcached:latest
|
||||||
|
container_name: seafile-memcached
|
||||||
|
restart: "on-failure"
|
||||||
|
entrypoint: memcached -m 256
|
||||||
|
networks:
|
||||||
|
- web
|
||||||
|
|
||||||
|
networks:
|
||||||
|
web:
|
||||||
|
external: true
|
||||||
|
name: web
|
||||||
0
volumes/.gitkeep
Normal file
0
volumes/.gitkeep
Normal file
0
volumes/seafile-data/.gitkeep
Normal file
0
volumes/seafile-data/.gitkeep
Normal file
0
volumes/seafile-mariadb/.gitkeep
Normal file
0
volumes/seafile-mariadb/.gitkeep
Normal file
0
volumes/seafile-memcached/.gitkeep
Normal file
0
volumes/seafile-memcached/.gitkeep
Normal file
Reference in New Issue
Block a user