75 lines
2.0 KiB
YAML
75 lines
2.0 KiB
YAML
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:
|
|
- nextcloud_db
|
|
|
|
nextcloud_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'
|
|
|
|
yourls:
|
|
build: https://git.karaolidis.com/Nikas36/yourls-plugins.git
|
|
image: yourls:custom
|
|
container_name: yourls
|
|
restart: unless-stopped
|
|
environment:
|
|
- 'YOURLS_DB_HOST=yourls_db:3306'
|
|
- 'YOURLS_DB_PASS=${YOURLS_DB_PASS}'
|
|
- 'YOURLS_SITE=${YOURLS_URL}'
|
|
- 'YOURLS_USER=${YOURLS_USER}'
|
|
- 'YOURLS_PASS=${YOURLS_PASS}'
|
|
networks:
|
|
- yourls
|
|
- proxy
|
|
depends_on:
|
|
- yourls_db
|
|
|
|
yourls_db:
|
|
image: mysql
|
|
container_name: yourls_db
|
|
restart: unless-stopped
|
|
volumes:
|
|
- '/home/nick/configs/routing/yourls:/var/lib/mysql'
|
|
environment:
|
|
- 'MYSQL_ROOT_PASSWORD=${YOURLS_DB_PASS}'
|
|
networks:
|
|
- yourls
|
|
user: '1000:1000'
|
|
|
|
networks:
|
|
nextcloud:
|
|
name: nextcloud
|
|
yourls:
|
|
name: yourls
|
|
proxy:
|
|
external: true
|
|
name: proxy
|