mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 09:54:44 +01:00
f31ab6d178
Passwords for encrypted libraries are kept in memory in the server and flushed after an hour. This MR fixes an issue when the library password expires after 1 hour.
32 lines
863 B
YAML
32 lines
863 B
YAML
version: '2.0'
|
|
services:
|
|
db:
|
|
image: mariadb:10.5
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
|
- MYSQL_LOG_CONSOLE=true
|
|
volumes:
|
|
- ${SEAFILE_TEST_DATA}/${NAME}/seafile-mysql/db:/var/lib/mysql
|
|
|
|
memcached:
|
|
image: memcached:1.6.9
|
|
entrypoint: memcached -m 256
|
|
|
|
seafile:
|
|
image: seafileltd/seafile-mc:${SEAFILE_VERSION}
|
|
ports:
|
|
- "${SEAFILE_IP}:${SEAFILE_PORT}:80"
|
|
volumes:
|
|
- ${SEAFILE_TEST_DATA}/${NAME}/seafile-data:/shared
|
|
environment:
|
|
- DB_HOST=db
|
|
- DB_ROOT_PASSWD=${MYSQL_ROOT_PASSWORD}
|
|
- TIME_ZONE=Etc/UTC
|
|
- SEAFILE_ADMIN_EMAIL=${SEAFILE_ADMIN_EMAIL}
|
|
- SEAFILE_ADMIN_PASSWORD=${SEAFILE_ADMIN_PASSWORD}
|
|
- SEAFILE_SERVER_LETSENCRYPT=false
|
|
- SEAFILE_SERVER_HOSTNAME=${SEAFILE_IP}:${SEAFILE_PORT}
|
|
depends_on:
|
|
- db
|
|
- memcached
|