fix: update timezone variable and remove healthcheck from seafile service
This commit is contained in:
+3
-11
@@ -77,7 +77,7 @@ services:
|
|||||||
- SEAFILE_MYSQL_DB_CCNET_DB_NAME=${SEAFILE_MYSQL_DB_CCNET_DB_NAME:-ccnet_db}
|
- SEAFILE_MYSQL_DB_CCNET_DB_NAME=${SEAFILE_MYSQL_DB_CCNET_DB_NAME:-ccnet_db}
|
||||||
- SEAFILE_MYSQL_DB_SEAFILE_DB_NAME=${SEAFILE_MYSQL_DB_SEAFILE_DB_NAME:-seafile_db}
|
- SEAFILE_MYSQL_DB_SEAFILE_DB_NAME=${SEAFILE_MYSQL_DB_SEAFILE_DB_NAME:-seafile_db}
|
||||||
- SEAFILE_MYSQL_DB_SEAHUB_DB_NAME=${SEAFILE_MYSQL_DB_SEAHUB_DB_NAME:-seahub_db}
|
- SEAFILE_MYSQL_DB_SEAHUB_DB_NAME=${SEAFILE_MYSQL_DB_SEAHUB_DB_NAME:-seahub_db}
|
||||||
- TIME_ZONE=${SEAFILE_TIMEZONE:-Etc/UTC}
|
- TIME_ZONE=${TIME_ZONE:-Etc/UTC}
|
||||||
- INIT_SEAFILE_ADMIN_EMAIL=${INIT_SEAFILE_ADMIN_EMAIL:-me@example.com}
|
- INIT_SEAFILE_ADMIN_EMAIL=${INIT_SEAFILE_ADMIN_EMAIL:-me@example.com}
|
||||||
- INIT_SEAFILE_ADMIN_PASSWORD=${INIT_SEAFILE_ADMIN_PASSWORD:-asecret}
|
- INIT_SEAFILE_ADMIN_PASSWORD=${INIT_SEAFILE_ADMIN_PASSWORD:-asecret}
|
||||||
- SEAFILE_SERVER_HOSTNAME=${SEAFILE_SERVER_HOSTNAME:?Variable is not set or empty}
|
- SEAFILE_SERVER_HOSTNAME=${SEAFILE_SERVER_HOSTNAME:?Variable is not set or empty}
|
||||||
@@ -88,21 +88,13 @@ services:
|
|||||||
- SEAFILE_LOG_TO_STDOUT=${SEAFILE_LOG_TO_STDOUT:-false}
|
- SEAFILE_LOG_TO_STDOUT=${SEAFILE_LOG_TO_STDOUT:-false}
|
||||||
- ENABLE_SEADOC=${ENABLE_SEADOC:-false}
|
- ENABLE_SEADOC=${ENABLE_SEADOC:-false}
|
||||||
- SEADOC_SERVER_URL=${SEAFILE_SERVER_PROTOCOL:-http}://${SEAFILE_SERVER_HOSTNAME:?Variable is not set or empty}/sdoc-server
|
- SEADOC_SERVER_URL=${SEAFILE_SERVER_PROTOCOL:-http}://${SEAFILE_SERVER_HOSTNAME:?Variable is not set or empty}/sdoc-server
|
||||||
- MEMCACHED_SERVER_HOST=memcached
|
|
||||||
- MEMCACHED_SERVER_PORT=11211
|
|
||||||
- FORCE_HTTPS_IN_CONF=${FORCE_HTTPS_IN_CONF:-true}
|
|
||||||
networks:
|
networks:
|
||||||
- seafile-network
|
- seafile-network
|
||||||
- traefik-public
|
- traefik-public
|
||||||
healthcheck:
|
|
||||||
test: timeout 10s bash -c ':> /dev/tcp/127.0.0.1/8000' || exit 1
|
|
||||||
interval: 30s
|
|
||||||
timeout: 5s
|
|
||||||
retries: 3
|
|
||||||
start_period: 90s
|
|
||||||
labels:
|
labels:
|
||||||
# Enable Traefik for this container
|
# Enable Traefik for this container
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
|
- traefik.constraint-label=traefik-public
|
||||||
# Global settings for compression middleware
|
# Global settings for compression middleware
|
||||||
- "traefik.http.middlewares.compresstraefik.compress=true"
|
- "traefik.http.middlewares.compresstraefik.compress=true"
|
||||||
# Match incoming requests on the specific hostname for Seafile/Seahub
|
# Match incoming requests on the specific hostname for Seafile/Seahub
|
||||||
@@ -163,7 +155,7 @@ services:
|
|||||||
- "traefik.http.middlewares.sec-headers.headers.stsPreload=true"
|
- "traefik.http.middlewares.sec-headers.headers.stsPreload=true"
|
||||||
- "traefik.http.middlewares.sec-headers.headers.referrerPolicy=same-origin"
|
- "traefik.http.middlewares.sec-headers.headers.referrerPolicy=same-origin"
|
||||||
# Specify which Docker network Traefik should use for routing
|
# Specify which Docker network Traefik should use for routing
|
||||||
- "traefik.docker.network=traefik-public"
|
- "traefik.swarm.network=traefik-public"
|
||||||
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
Reference in New Issue
Block a user