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
|
|
|
|
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
|
|
|
|
networks:
|
|
|
|
- proxy
|
|
|
|
restart: unless-stopped
|