Move a bunch of containers around

This commit is contained in:
2022-03-08 00:42:44 +00:00
parent 41e53a5f6d
commit f262a53009
4 changed files with 82 additions and 49 deletions

View File

@@ -1,43 +0,0 @@
version: '3.9'
services:
nextcloud:
image: linuxserver/nextcloud
container_name: nextcloud
restart: unless-stopped
volumes:
- '/home/nick/configs/nextcloud/conf:/config'
- '/mnt/storage/configs/nextcloud/data:/data'
- '/mnt/storage/public:/public'
- '/mnt/storage/private:/private'
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Greece
networks:
- nextcloud
- proxy
depends_on:
- db
db:
image: mariadb:10.5
container_name: nextcloud_db
restart: unless-stopped
volumes:
- '/home/nick/configs/nextcloud/db:/var/lib/mysql'
environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASS}
- MYSQL_USER=nextcloud
- MYSQL_PASSWORD=nextcloud
- MYSQL_DATABASE=nextcloud
networks:
- nextcloud
user: '1000:1000'
networks:
nextcloud:
name: nextcloud
proxy:
external: true
name: proxy