You've already forked nextcloud
Compare commits
3 Commits
ff2c56a7de
...
production
| Author | SHA1 | Date | |
|---|---|---|---|
| 831781d5f7 | |||
| 44571ff08b | |||
| eefaae32e2 |
@@ -23,7 +23,7 @@ services:
|
|||||||
# HTTPS
|
# HTTPS
|
||||||
- traefik.http.routers.https-${TRAEFIK_ROUTER}.entrypoints=https
|
- traefik.http.routers.https-${TRAEFIK_ROUTER}.entrypoints=https
|
||||||
# configure the exposed service
|
# configure the exposed service
|
||||||
- traefik.http.routers.https-${TRAEFIK_ROUTER}.middlewares=hsts,nextcloud-redirectregex
|
- traefik.http.routers.https-${TRAEFIK_ROUTER}.middlewares=${TRAEFIK_MIDDLEWARES}
|
||||||
- traefik.http.routers.https-${TRAEFIK_ROUTER}.rule=${TRAEFIK_MATCHRULE}
|
- traefik.http.routers.https-${TRAEFIK_ROUTER}.rule=${TRAEFIK_MATCHRULE}
|
||||||
# of course, enable TLS and it's certificate provider
|
# of course, enable TLS and it's certificate provider
|
||||||
- traefik.http.routers.https-${TRAEFIK_ROUTER}.tls=${TRAEFIK_TLSENABLED}
|
- traefik.http.routers.https-${TRAEFIK_ROUTER}.tls=${TRAEFIK_TLSENABLED}
|
||||||
@@ -40,10 +40,11 @@ services:
|
|||||||
image: mariadb:${MARIADB_VERSION}
|
image: mariadb:${MARIADB_VERSION}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=${MARIADB_ROOT_PASS}
|
- MARIADB_AUTO_UPGRADE=true
|
||||||
- MYSQL_DATABASE=${NEXTCLOUD_DATABASE_NAME}
|
- MARIADB_ROOT_PASSWORD=${MARIADB_ROOT_PASS}
|
||||||
- MYSQL_USER=${NEXTCLOUD_DATABASE_USER}
|
- MARIADB_DATABASE=${NEXTCLOUD_DATABASE_NAME}
|
||||||
- MYSQL_PASSWORD=${NEXTCLOUD_DATABASE_PASS}
|
- MARIADB_USER=${NEXTCLOUD_DATABASE_USER}
|
||||||
|
- MARIADB_PASSWORD=${NEXTCLOUD_DATABASE_PASS}
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "/usr/local/bin/healthcheck.sh", "--innodb_initialized"]
|
test: ["CMD", "/usr/local/bin/healthcheck.sh", "--innodb_initialized"]
|
||||||
start_period: 30s
|
start_period: 30s
|
||||||
|
|||||||
@@ -11,9 +11,10 @@ MARIADB_ROOT_PASS=Sup3rS3cr3tPassw0rd!
|
|||||||
# Træfik environment
|
# Træfik environment
|
||||||
TRAEFIK_ENABLED=true
|
TRAEFIK_ENABLED=true
|
||||||
TRAEFIK_CERTRESOLVER=letsencrypt
|
TRAEFIK_CERTRESOLVER=letsencrypt
|
||||||
TRAEFIK_MATCHRULE=cloud.domain.com
|
TRAEFIK_MATCHRULE=Host(`cloud.domain.com`)
|
||||||
TRAEFIK_ROUTER=cloud_domain_com
|
TRAEFIK_ROUTER=cloud_domain_com
|
||||||
TRAEFIK_SERVICE=cloud_domain_com
|
TRAEFIK_SERVICE=cloud_domain_com
|
||||||
TRAEFIK_SERVICE_PORT=80
|
TRAEFIK_SERVICE_PORT=80
|
||||||
TRAEFIK_TLSENABLED=true
|
TRAEFIK_TLSENABLED=true
|
||||||
TRAEFIK_NETWORK=traefik
|
TRAEFIK_NETWORK=traefik
|
||||||
|
TRAEFIK_MIDDLEWARES=hsts,cloud_domain_com-redirectregex
|
||||||
|
|||||||
Reference in New Issue
Block a user