ocis-deployment/docker-compose.yml

29 lines
653 B
YAML
Raw Normal View History

2023-09-01 19:46:27 +00:00
version: '3.5'
services:
ocis:
image: owncloud/ocis
expose: [ 9200 ]
2023-09-01 19:46:27 +00:00
volumes:
- type: bind
source: ./mounts/config
target: /etc/ocis
- type: bind
source: ./mounts/data
target: /var/lib/ocis
environment:
OCIS_INSECURE: 'true'
PROXY_HTTP_ADDR: 0.0.0.0: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
2023-09-02 11:35:21 +00:00
traefik.http.routers.ocis.tls.certresolver: letsencrypt
2023-09-02 11:32:41 +00:00
traefik.enable: true
networks:
web:
external: true