|
|
|
@ -5,6 +5,8 @@ services: |
|
|
|
|
image: ${DB_IMG:-mariadb}:${DB_TAG:-latest} |
|
|
|
|
container_name: ${DB_CONTAINER_NAME:-seafile-db} |
|
|
|
|
restart: ${DB_RESTART:-unless-stopped} |
|
|
|
|
expose: |
|
|
|
|
- "3306" |
|
|
|
|
environment: |
|
|
|
|
- MYSQL_ROOT_PASSWORD=${DB_ROOT_PASSWD:-changemeplease} |
|
|
|
|
- MYSQL_LOG_CONSOLE=true |
|
|
|
@ -17,6 +19,8 @@ services: |
|
|
|
|
image: ${MC_IMG:-memcached}:${MC_TAG:-alpine} |
|
|
|
|
container_name: ${MC_CONTAINER_NAME:-seafile-memcached} |
|
|
|
|
restart: ${MC_RESTART:-unless-stopped} |
|
|
|
|
expose: |
|
|
|
|
- "11211" |
|
|
|
|
entrypoint: memcached -m 256 |
|
|
|
|
networks: |
|
|
|
|
- seafile-net |
|
|
|
|