added nextcloud
parent
90544a4d95
commit
6544eef974
|
@ -0,0 +1,7 @@
|
|||
PUID=1001
|
||||
PGID=1001
|
||||
TZ=America/New_York
|
||||
MYSQL_ROOT_PASSWORD=password
|
||||
MYSQL_DATABASE=database
|
||||
MYSQL_USER=username
|
||||
MYSQL_PASSWORD=password
|
|
@ -0,0 +1,46 @@
|
|||
version: "2.1"
|
||||
|
||||
services:
|
||||
nextcloud:
|
||||
image: lscr.io/linuxserver/nextcloud
|
||||
container_name: nextcloud
|
||||
environment:
|
||||
- PUID=1001
|
||||
- PGID=1001
|
||||
- TZ=America/New_York
|
||||
volumes:
|
||||
- config:/config
|
||||
- data:/data
|
||||
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: lscr.io/linuxserver/mariadb
|
||||
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
|
Loading…
Reference in New Issue