ocis/compose.yml

63 lines
1.7 KiB
YAML
Raw Permalink Normal View History

2022-08-03 08:22:38 +00:00
---
version: "3.8"
services:
app:
2022-10-17 11:41:44 +00:00
image: "owncloud/ocis${OCIS_DOCKER_TAG}"
2022-08-03 08:22:38 +00:00
configs:
- source: app_entrypoint
target: /docker-entrypoint.sh
mode: 0555
environment:
2022-08-03 08:39:59 +00:00
- PROXY_TLS=false
- OCIS_INSECURE=false
2022-08-03 08:54:35 +00:00
- DEMO_USERS=false
2022-08-03 08:39:59 +00:00
- IDM_CREATE_DEMO_USERS=false
2022-08-03 08:54:35 +00:00
- PROXY_AUTOPROVISION_ACCOUNTS=true
2022-10-17 10:27:27 +00:00
- PROXY_OIDC_REWRITE_WELLKNOWN=true
2022-08-03 08:54:35 +00:00
- OCIS_URL=https://${DOMAIN}
2022-10-17 10:27:27 +00:00
- OCIS_LOG_LEVEL=${OCIS_LOG_LEVEL:-error}
2022-08-03 08:39:59 +00:00
- OCIS_LOG_COLOR=false
2022-08-03 08:38:16 +00:00
- OCIS_OIDC_ISSUER=
- WEB_OIDC_CLIENT_ID=
2022-08-03 08:54:35 +00:00
- OCIS_OIDC_CLIENT_ID=
2022-08-03 23:25:12 +00:00
- GATEWAY_GRPC_ADDR=0.0.0.0:9142 # make the REVA gateway accessible to the app drivers
2022-08-03 08:22:38 +00:00
volumes:
- config:/etc/ocis
- data:/var/lib/ocis
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
networks:
- proxy
- internal
entrypoint: /docker-entrypoint.sh
deploy:
update_config:
failure_action: rollback
order: start-first
labels:
- "traefik.enable=true"
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=9200"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "backupbot.backup=true"
- "backupbot.backup.path=/etc/ocis/,/var/lib/ocis/"
2022-08-03 09:24:17 +00:00
- coop-cloud.${STACK_NAME}.version=0.1.0+2.0.0-beta.5
2022-08-03 08:22:38 +00:00
networks:
internal:
proxy:
external: true
configs:
app_entrypoint:
name: ${STACK_NAME}_app_entrypoint_${APP_ENTRYPOINT_VERSION}
file: entrypoint.sh.tmpl
template_driver: golang
volumes:
data:
config: