docker/nextcloud/nextcloud.yml

58 lines
1.1 KiB
YAML
Raw Normal View History

2023-08-03 00:38:17 +00:00
version: "2.1"
services:
nextcloud:
image: linuxserver/nextcloud
2023-08-03 00:38:17 +00:00
container_name: nextcloud
environment:
- PUID=1001
- PGID=1001
- TZ=America/New_York
volumes:
- config:/config
- data:/data
2024-01-13 21:50:00 +00:00
- /home/meftimes/sync:/sync
2023-08-03 00:38:17 +00:00
depends_on:
- mariadb
labels:
- "traefik.enable=true"
- "traefik.http.routers.nextcloud-websecure.entrypoints=websecure"
- "traefik.http.routers.nextcloud-websecure.rule=Host(`nextcloud.meftimes.com`)"
- "traefik.http.services.nextcloud-websecure.loadbalancer.server.port=80"
networks:
- proxy
- backend
restart: unless-stopped
mariadb:
image: linuxserver/mariadb
2023-08-03 00:38:17 +00:00
container_name: mariadb
env_file:
- .env
volumes:
- mariadb:/config
networks:
- backend
restart: unless-stopped
volumes:
config:
data:
mariadb:
networks:
proxy:
external: true
backend:
external: true
2024-01-13 21:50:00 +00:00
#mariadb
#database user:
#root
#database password:
#MYSQL_ROOT_PASSWORD field
#database name:
#nextcloud
#database host:
#mariadb