Skip to content

Instantly share code, notes, and snippets.

@nvllsvm
Created February 26, 2018 06:39
Show Gist options
  • Save nvllsvm/71f2debb4b37875a20431c4665fef49f to your computer and use it in GitHub Desktop.
Save nvllsvm/71f2debb4b37875a20431c4665fef49f to your computer and use it in GitHub Desktop.
self-hosted
version: '3.5'
services:
nginx:
image: nginx:mainline-alpine
volumes:
- ./config/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./certs/live/sol.nullsum.net/privkey.pem:/ssl/privkey.pem:ro
- ./certs/live/sol.nullsum.net/fullchain.pem:/ssl/fullchain.pem:ro
- ./certs/dhparam.pem:/ssl/dhparam.pem:ro
- ./certs/renewal:/renewal:ro
- ./.htpasswd:/etc/nginx/.htpasswd:ro
ports:
- "80:80"
- "443:443"
- "4040:4040"
restart: always
transmission:
image: haugene/transmission-openvpn
privileged: true
dns:
- 8.8.8.8
- 8.8.4.4
volumes:
- /etc/localtime:/etc/localtime:ro
- /mnt/storage1/Downloads/Torrent:/data
env_file:
- ./env/transmission.env
restart: always
emby:
image: nvllsvm/emby-unlocked
volumes:
- /home/draje/.embyserver:/config
- /mnt/storage2:/media:ro
env_file:
- ./env/emby.env
restart: always
apartment:
build: ./images/apartment_proxy
airsonic:
image: airsonic/airsonic
volumes:
- /mnt/storage1/Audio/MP3:/airsonic/music:ro
- /mnt/storage1/Audio/Playlists:/airsonic/playlists
- /mnt/storage1/Audio/Podcasts:/airsonic/podcasts
- /home/draje/.airsonic:/airsonic/data
env_file:
- ./env/airsonic.env
restart: always
nextcloud-app:
build: ./images/nextcloud-app
volumes:
- /home/draje/.nextcloud/app:/var/www/html
- ./config/nextcloud-app/routing.config.php:/var/www/html/config/routing.config.php
env_file:
- ./env/nextcloud.env
- ./env/nextcloud_app.env
depends_on:
- nextcloud-db
restart: always
nextcloud-db:
image: mariadb
volumes:
- /home/draje/.nextcloud/db:/var/lib/mysql
env_file:
- ./env/nextcloud.env
- ./env/nextcloud_db.env
restart: always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment