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