29 lines
934 B
YAML
29 lines
934 B
YAML
services:
|
|
seadoc:
|
|
image: ${SEADOC_IMAGE:-seafileltd/sdoc-server:2.0.3-testing}
|
|
container_name: seadoc
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ${SEADOC_VOLUME:-/opt/seadoc-data/}:/shared
|
|
ports:
|
|
- "8888:80"
|
|
environment:
|
|
- DB_HOST=${SEAFILE_MYSQL_DB_HOST:-db}
|
|
- DB_PORT=${SEAFILE_MYSQL_DB_PORT:-3306}
|
|
- DB_USER=${SEAFILE_MYSQL_DB_USER:-seafile}
|
|
- DB_PASSWORD=${SEAFILE_MYSQL_DB_PASSWORD:?Variable is not set or empty}
|
|
- DB_NAME=${SEADOC_MYSQL_DB_NAME:-seahub_db}
|
|
- TIME_ZONE=${TIME_ZONE:-Etc/UTC}
|
|
- JWT_PRIVATE_KEY=${JWT_PRIVATE_KEY:?Variable is not set or empty}
|
|
- NON_ROOT=${NON_ROOT:-false}
|
|
- SEAHUB_SERVICE_URL=${SEAFILE_SERVER_PROTOCOL:-http}://${SEAFILE_SERVER_HOSTNAME:?Variable is not set or empty}
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
networks:
|
|
- seafile-net
|
|
|
|
networks:
|
|
seafile-net:
|
|
name: seafile-net
|