change to public-facing config behind traefik

This commit is contained in:
D. Scott Boggs 2023-09-02 07:17:07 -04:00
parent b219c4b498
commit 0726462b8f

View file

@ -3,8 +3,7 @@ version: '3.5'
services:
ocis:
image: owncloud/ocis
ports:
- 9200:9200
expose: [ 9200 ]
volumes:
- type: bind
source: ./mounts/config
@ -15,4 +14,14 @@ services:
environment:
OCIS_INSECURE: 'true'
PROXY_HTTP_ADDR: 0.0.0.0:9200
OCIS_URL: https://localhost:9200/
PROXY_TLS: false
OCIS_URL: https://${PUBLIC_URL}
networks: [ web ]
labels:
traefik.http.routers.ocis.rule: Host(`${PUBLIC_URL}`)
traefik.http.routers.ocis.tls: true
traefik.http.routers.ocis.tls.certprovider: letsencrypt
networks:
web:
external: true