Add floof collaborator; traefik labels + service; rename .env.example->.env; opencloud.maukit.com entrypoints
- .env renamed (.env.example removed); domain -> opencloud.maukit.com / euro-office.opencloud.maukit.com - docker-compose.yml: opencloud labels traefik (Host opencloud.maukit.com, websecure, letsencrypt); OC_URL updated - traefik/service.yml: traefik v2.10.4 service matching floof/portainer style (docker.sock, ports 80/443/8080) - Compare with floof/portainer traefik/docker-compose.yml: same label structure (enable=true, Host, entrypoints, tls.certresolver) - floof added to repo (collaborator) per convention - No deploy; reference only
This commit is contained in:
+6
-1
@@ -8,6 +8,11 @@ services:
|
||||
user: ${OC_CONTAINER_UID_GID:-1000:1000}
|
||||
networks:
|
||||
opencloud-net:
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.opencloud.rule=Host(`opencloud.maukit.com`)"
|
||||
- "traefik.http.routers.opencloud.entrypoints=websecure"
|
||||
- "traefik.http.routers.opencloud.tls.certresolver=letsencrypt"
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
# run opencloud init to initialize a configuration file with random secrets
|
||||
@@ -17,7 +22,7 @@ services:
|
||||
environment:
|
||||
# enable services that are not started automatically
|
||||
OC_ADD_RUN_SERVICES: ${START_ADDITIONAL_SERVICES}
|
||||
OC_URL: https://${OC_DOMAIN:-cloud.maukit.com}${TRAEFIK_PORT_HTTPS:+:${TRAEFIK_PORT_HTTPS:-}}
|
||||
OC_URL: https://${OC_DOMAIN:-opencloud.maukit.com}${TRAEFIK_PORT_HTTPS:+:${TRAEFIK_PORT_HTTPS:-}}
|
||||
OC_LOG_LEVEL: ${LOG_LEVEL:-info}
|
||||
OC_LOG_COLOR: "${LOG_PRETTY:-false}"
|
||||
OC_LOG_PRETTY: "${LOG_PRETTY:-false}"
|
||||
|
||||
Reference in New Issue
Block a user