Initial configuration

This commit is contained in:
Ryan Harg 2024-07-03 12:11:49 +00:00
commit 83288dad96
2 changed files with 43 additions and 0 deletions

5
.gitignore vendored Normal file
View file

@ -0,0 +1,5 @@
config
data
mariadb
*.env

38
docker-compose.yml Normal file
View file

@ -0,0 +1,38 @@
services:
nextcloud:
container_name: nextcloud
image: linuxserver/nextcloud:29.0.3
ports:
- "7777:80"
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
env_file:
- db.env
volumes:
- ./config:/config
- ./data:/data
depends_on:
- db
networks:
- nginx_default
- nextcloud
db:
container_name: maria_db
image: mariadb:10.11
restart: unless-stopped
env_file:
- db.env
volumes:
- ./mariadb:/var/lib/mysql
networks:
- nextcloud
networks:
nginx_default:
external: true
nextcloud: