Nextcloud

This commit is contained in:
Yax 2024-12-26 17:58:56 +01:00
parent 51acd19b62
commit cac8fb2769
9 changed files with 29 additions and 96 deletions

View file

@ -1,9 +1,11 @@
# general
ROOT_INSTALL=/srv
TZ=Europe/Paris
PUID=1000
PGID=1000
# apps
WALLABAG_URL=http://localhost
# nextcloud
SMTP_HOST=smtp.domain.com
SMTP_SECURE=ssl
SMTP_PORT=465
SMTP_AUTHTYPE=LOGIN
SMTP_NAME=admin
SMTP_PASSWORD=password
MAIL_FROM_ADDRESS=admin@domain.com

2
.gitignore vendored
View file

@ -1,3 +1,5 @@
.env
.env.vm1
.env.vm2
selfhosting.sublime-project
selfhosting.sublime-workspace

View file

@ -1,17 +0,0 @@
services:
stacosys:
container_name: stacosys
image: kianby/stacosys
volumes:
- ${ROOT_INSTALL}/data/stacosys:/config
restart: unless-stopped
expose:
- 8100
blog:
container_name: blog
image: kianby/blog
depends_on:
- stacosys
restart: unless-stopped
ports:
- "8011:80"

View file

@ -1,12 +0,0 @@
services:
selfoss:
container_name: selfoss
image: rsprta/selfoss
volumes:
- ${ROOT_INSTALL}/data/selfoss:/selfoss/data
restart: unless-stopped
ports:
- "8012:8888"
environment:
- SELFOSS_CONFIG_FILE=/selfoss/data/config.ini

View file

@ -1,13 +0,0 @@
services:
shaarli:
container_name: shaarli
image: shaarli/shaarli
volumes:
- shaarli-cache:/var/www/shaarli/cache
- ${ROOT_INSTALL}/data/shaarli:/var/www/shaarli/data
restart: unless-stopped
ports:
- "8013:80"
volumes:
shaarli-cache:

View file

@ -1,18 +0,0 @@
services:
gitea:
container_name: gitea
image: gitea/gitea:1.17.2-rootless
restart: unless-stopped
volumes:
- gitea_data:/var/lib/gitea
- gitea_config:/etc/gitea
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "8014:3000"
- "2222:2222"
volumes:
gitea_data:
gitea_config:

View file

@ -1,17 +0,0 @@
services:
wallabag:
container_name: wallabag
image: wallabag/wallabag
ports:
- "8015:80"
volumes:
- wallabag_data:/var/www/wallabag/data:rw
- wallabag_images:/var/www/wallabag/web/assets/images:rw
environment:
- SYMFONY__ENV__DOMAIN_NAME="${WALLABAG_URL}"
- SYMFONY__ENV__FOSUSER_REGISTRATION=false
volumes:
wallabag_data:
wallabag_images:

View file

@ -1,13 +0,0 @@
services:
heimdall:
image: lscr.io/linuxserver/heimdall
container_name: heimdall
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
volumes:
- ${ROOT_INSTALL}/data/heimdall:/config
ports:
- "8016:80"
restart: unless-stopped

View file

@ -0,0 +1,19 @@
services:
nextcloud:
image: nextcloud
container_name: nextcloud
restart: always
ports:
- 8080:80
volumes:
- ${ROOT_INSTALL}/data/nextcloud:/var/www/html
environment:
- SQLITE_DATABASE=nextcloud
- APACHE_BODY_LIMIT=0
- SMTP_HOST=${SMTP_HOST}
- SMTP_SECURE=${SMTP_SECURE}
- SMTP_PORT=${SMTP_PORT}
- SMTP_AUTHTYPE=${SMTP_AUTHTYPE}
- SMTP_NAME=${SMTP_NAME}
- SMTP_PASSWORD=${SMTP_PASSWORD}
- MAIL_FROM_ADDRESS=${MAIL_FROM_ADDRESS}