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:
2026-09-12 14:15:45 +01:00
parent 1f820dcd07
commit 9e0588c28e
3 changed files with 25 additions and 3 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ INSECURE=true
DEBUG=false DEBUG=false
## OpenCloud ## OpenCloud
OC_DOMAIN=cloud.maukit.com OC_DOMAIN=opencloud.maukit.com
OC_DOCKER_IMAGE=opencloudeu/opencloud-rolling OC_DOCKER_IMAGE=opencloudeu/opencloud-rolling
OC_DOCKER_TAG=7.5.0 OC_DOCKER_TAG=7.5.0
OC_CONTAINER_UID_GID=1000:1000 OC_CONTAINER_UID_GID=1000:1000
@@ -24,7 +24,7 @@ TIKA_IMAGE=apache/tika:latest
START_ADDITIONAL_SERVICES=tika START_ADDITIONAL_SERVICES=tika
## Euro Office ## Euro Office
EURO_OFFICE_DOMAIN=euro-office.maukit.com EURO_OFFICE_DOMAIN=euro-office.opencloud.maukit.com
EURO_OFFICE_DOCKER_IMAGE=ghcr.io/euro-office/documentserver EURO_OFFICE_DOCKER_IMAGE=ghcr.io/euro-office/documentserver
EURO_OFFICE_DOCKER_TAG=latest EURO_OFFICE_DOCKER_TAG=latest
EURO_OFFICE_JWT_SECRET=CHANGEME-GENERATE-SECRET EURO_OFFICE_JWT_SECRET=CHANGEME-GENERATE-SECRET
+6 -1
View File
@@ -8,6 +8,11 @@ services:
user: ${OC_CONTAINER_UID_GID:-1000:1000} user: ${OC_CONTAINER_UID_GID:-1000:1000}
networks: networks:
opencloud-net: 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: entrypoint:
- /bin/sh - /bin/sh
# run opencloud init to initialize a configuration file with random secrets # run opencloud init to initialize a configuration file with random secrets
@@ -17,7 +22,7 @@ services:
environment: environment:
# enable services that are not started automatically # enable services that are not started automatically
OC_ADD_RUN_SERVICES: ${START_ADDITIONAL_SERVICES} 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_LEVEL: ${LOG_LEVEL:-info}
OC_LOG_COLOR: "${LOG_PRETTY:-false}" OC_LOG_COLOR: "${LOG_PRETTY:-false}"
OC_LOG_PRETTY: "${LOG_PRETTY:-false}" OC_LOG_PRETTY: "${LOG_PRETTY:-false}"
+17
View File
@@ -0,0 +1,17 @@
traefik:
image: traefik:v2.10.4
container_name: traefik
security_opt:
- no-new-privileges:true
ports:
- "80:80"
- "443:443"
- "8080:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./traefik/traefik.yml:/etc/traefik/traefik.yml:ro
networks:
- opencloud-net
restart: unless-stopped
labels:
- "traefik.enable=true"