change to public-facing config behind traefik
This commit is contained in:
parent
b219c4b498
commit
0726462b8f
|
@ -3,8 +3,7 @@ version: '3.5'
|
||||||
services:
|
services:
|
||||||
ocis:
|
ocis:
|
||||||
image: owncloud/ocis
|
image: owncloud/ocis
|
||||||
ports:
|
expose: [ 9200 ]
|
||||||
- 9200:9200
|
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
source: ./mounts/config
|
source: ./mounts/config
|
||||||
|
@ -15,4 +14,14 @@ services:
|
||||||
environment:
|
environment:
|
||||||
OCIS_INSECURE: 'true'
|
OCIS_INSECURE: 'true'
|
||||||
PROXY_HTTP_ADDR: 0.0.0.0:9200
|
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
|
||||||
|
|
Loading…
Reference in a new issue