umbrel-apps/seafile/docker-compose.yml
Pranshu Agrawal 127eea8b7d
App Submission: Seafile (#676)
Co-authored-by: Steven Briscoe <me@stevenbriscoe.com>
Co-authored-by: nmfretz <nmfretz@gmail.com>
Co-authored-by: Parth Jadhav <jadhavparth99@gmail.com>
2024-02-23 10:02:50 -08:00

37 lines
1.1 KiB
YAML

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: seafile
APP_PORT: 80
db:
image: mariadb:10.11.6@sha256:20a8bd91d972c97cffded88f2ba0ab533c8988b2dc08090c57d50caf7114ed20
container_name: seafile-mysql
environment:
- MYSQL_ROOT_PASSWORD=db_dev
- MYSQL_LOG_CONSOLE=true
volumes:
- ${APP_DATA_DIR}/data/db:/var/lib/mysql
memcached:
image: memcached:1.6.18@sha256:4ab520657d9919221f752771bb013d632c9b39cea9dfae9162244b2e39885bcd
container_name: seafile-memcached
entrypoint: memcached -m 256
seafile:
image: seafileltd/seafile-mc:11.0.3@sha256:e712a7b15c63855e2977eda07a8fdd0024d0c1b5a413d2497e8c63c7c82c6d87
container_name: seafile
volumes:
- ${APP_DATA_DIR}/data/seafile-data:/shared
environment:
- DB_HOST=db
- DB_ROOT_PASSWD=db_dev
- SEAFILE_ADMIN_EMAIL=umbrel
- SEAFILE_ADMIN_PASSWORD=${APP_PASSWORD}
- SEAFILE_SERVER_LETSENCRYPT=false
- SEAFILE_SERVER_HOSTNAME=${DEVICE_DOMAIN_NAME}:8920
depends_on:
- db
- memcached