2021-04-27 01:31:53 +02:00
|
|
|
version: "{{ compose_version }}"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
proxy:
|
|
|
|
name: "{{ traefik_network }}"
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
nextcloud:
|
|
|
|
name: nextcloud
|
|
|
|
|
|
|
|
services:
|
|
|
|
# Will use SQLite as this is a small instance
|
|
|
|
nextcloud:
|
|
|
|
image: "nextcloud:{{ nextcloud_version }}"
|
|
|
|
container_name: nextcloud
|
|
|
|
volumes:
|
|
|
|
- nextcloud:/var/www/html
|
2021-07-23 14:04:42 +02:00
|
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
2021-04-27 01:31:53 +02:00
|
|
|
labels:
|
|
|
|
traefik.http.routers.cloud.entrypoints: websecure
|
2021-05-25 16:40:34 +02:00
|
|
|
traefik.http.routers.cloud.rule: "Host(`cloud.{{ domain_name }}`)"
|
2021-04-27 01:31:53 +02:00
|
|
|
traefik.http.services.cloud.loadbalancer.server.port: 80
|
|
|
|
traefik.enable: true
|
2023-04-06 18:41:46 +02:00
|
|
|
environment:
|
|
|
|
OVERWRITECLIURL: https://cloud.chosto.me
|
|
|
|
OVERWRITEPROTOCOL: https
|
2021-04-27 01:31:53 +02:00
|
|
|
networks:
|
|
|
|
- proxy
|
|
|
|
restart: unless-stopped
|