first version of seafile 10 with official image

This commit is contained in:
2024-11-30 19:06:33 +01:00
parent b12771347a
commit ded85734cd

View File

@@ -15,3 +15,42 @@ services:
volumes: volumes:
- /opt/seafile:/seafile - /opt/seafile:/seafile
- /media/sync/seafile:/seafile/seafile-data - /media/sync/seafile:/seafile/seafile-data
seafile-db:
image: mariadb:10.11
container_name: seafile-mysql
environment:
- MYSQL_ROOT_PASSWORD=${SEAFILE_MYSQL_DB_PASSWORD}
- MYSQL_LOG_CONSOLE=true
- MARIADB_AUTO_UPGRADE=1
volumes:
- /opt/seafile-mysql/db:/var/lib/mysql # Required, specifies the path to MySQL data persistent store.
env_file:
- /opt/seafile-new/.env
seafile-memcached:
image: memcached:1.6.18
container_name: seafile-memcached
entrypoint: memcached -m 256
seafile-server:
image: seafileltd/seafile-mc:10.0-latest
container_name: seafile-server
ports:
- "12380:80"
volumes:
- /opt/seafile-new/server:/shared
environment:
- DB_HOST=seafile-db
- DB_ROOT_PASSWD=${SEAFILE_MYSQL_DB_PASSWORD}
#- TIME_ZONE=Europe/Amsterdam # Optional, default is UTC. Should be uncomment and set to your local time zone.
#- SEAFILE_ADMIN_EMAIL=me@example.com # Specifies Seafile admin user, default is 'me@example.com'.
#- SEAFILE_ADMIN_PASSWORD=asecret # Specifies Seafile admin password, default is 'asecret'.
#- SEAFILE_SERVER_LETSENCRYPT=false # Whether to use https or not.
#- SEAFILE_SERVER_HOSTNAME=docs.seafile.com # Specifies your host name if https is enabled.
depends_on:
- seafile-db
- seafile-memcached
env_file:
- /opt/seafile-new/.env