Initial commit
This commit is contained in:
commit
c18b75796b
4 changed files with 151 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
*.env
|
7
Makefile
Normal file
7
Makefile
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
deploy: validate
|
||||||
|
scp ./*.env 192.168.1.20:/home/atomaka/docker
|
||||||
|
scp ./docker-compose.yml 192.168.1.20:/home/atomaka/docker
|
||||||
|
ssh 192.168.1.20 "cd /home/atomaka/docker && docker-compose up -d"
|
||||||
|
|
||||||
|
validate:
|
||||||
|
docker-compose config > /dev/null
|
141
docker-compose.yml
Normal file
141
docker-compose.yml
Normal file
|
@ -0,0 +1,141 @@
|
||||||
|
version: '2'
|
||||||
|
|
||||||
|
services:
|
||||||
|
plex:
|
||||||
|
image: linuxserver/plex
|
||||||
|
container_name: plex
|
||||||
|
network_mode: host
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
VERSION: latest
|
||||||
|
PUID: 0
|
||||||
|
PGID: 0
|
||||||
|
volumes:
|
||||||
|
- "/mnt/data/docker/plex/config:/config"
|
||||||
|
- "/mnt/media/series:/data/tvshows"
|
||||||
|
- "/mnt/media/movies:/data/movies"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
|
plexpy:
|
||||||
|
image: linuxserver/plexpy
|
||||||
|
container_name: plexpy
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- "/mnt/data/docker/plexpy/config:/config"
|
||||||
|
- "/mnt/data/docker/plex/config/Library/Application\ Support/Plex\ Media\ Server/Logs:/logs:ro"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
|
environment:
|
||||||
|
PUID: 0
|
||||||
|
PGID: 0
|
||||||
|
ports:
|
||||||
|
- "8181:8181"
|
||||||
|
plexrequests:
|
||||||
|
image: linuxserver/plexrequests
|
||||||
|
container_name: plexrequests
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- "/mnt/data/docker/plexrequests/config:/config"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
|
environment:
|
||||||
|
PUID: 0
|
||||||
|
PGID: 0
|
||||||
|
ports:
|
||||||
|
- "3000:3000"
|
||||||
|
sabnzdb:
|
||||||
|
image: linuxserver/sabnzbd
|
||||||
|
container_name: sabnzbd
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- "/mnt/data/docker/sabnzdb/config:/config"
|
||||||
|
- "/mnt/data/downloads:/data"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
|
environment:
|
||||||
|
PUID: 0
|
||||||
|
PGID: 0
|
||||||
|
ports:
|
||||||
|
- "8081:8080"
|
||||||
|
- "9090:9090"
|
||||||
|
sonarr:
|
||||||
|
image: linuxserver/sonarr
|
||||||
|
container_name: sonarr
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "8989:8989"
|
||||||
|
environment:
|
||||||
|
PUID: 0
|
||||||
|
PGID: 0
|
||||||
|
volumes:
|
||||||
|
- "/mnt/data/docker/sonarr/config:/config"
|
||||||
|
- "/mnt/data/downloads:/data"
|
||||||
|
- "/mnt/data/downloads:/downloads"
|
||||||
|
- "/mnt/media/series/:/media"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
|
radarr:
|
||||||
|
image: linuxserver/radarr
|
||||||
|
container_name: radarr
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "7878:7878"
|
||||||
|
environment:
|
||||||
|
PUID: 0
|
||||||
|
PGID: 0
|
||||||
|
volumes:
|
||||||
|
- "/mnt/data/docker/radarr/config:/config"
|
||||||
|
- "/mnt/data/downloads:/data"
|
||||||
|
- "/mnt/media/movies/:/media"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
|
muximux:
|
||||||
|
image: linuxserver/muximux
|
||||||
|
container_name: muximux
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "8082:80"
|
||||||
|
volumes:
|
||||||
|
- "/mnt/data/docker/muximux/config:/config"
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
|
duckdns:
|
||||||
|
image: linuxserver/duckdns
|
||||||
|
container_name: duckdns
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
PUID: 0
|
||||||
|
PGID: 0
|
||||||
|
env_file:
|
||||||
|
- duckdns.env
|
||||||
|
volumes:
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
|
ha:
|
||||||
|
image: homeassistant/home-assistant:latest
|
||||||
|
container_name: ha
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "8123:8123"
|
||||||
|
volumes:
|
||||||
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
|
- "/mnt/data/docker/ha/config:/config"
|
||||||
|
links:
|
||||||
|
- mqtt
|
||||||
|
portainer:
|
||||||
|
image: portainer/portainer
|
||||||
|
container_name: portainer
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "9101:9000"
|
||||||
|
volumes:
|
||||||
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||||
|
- "/mnt/data/docker/portainer:/data"
|
||||||
|
mqtt:
|
||||||
|
image: matteocollina/mosca
|
||||||
|
container_name: mqtt
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 1883:1883
|
||||||
|
mqttbridge:
|
||||||
|
image: stjohnjohnson/smartthings-mqtt-bridge
|
||||||
|
container_name: mqttbridge
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- "/mnt/data/docker/mqttbridge/config:/config"
|
||||||
|
ports:
|
||||||
|
- 8080:8080
|
||||||
|
links:
|
||||||
|
- mqtt
|
2
duckdns.env.sample
Normal file
2
duckdns.env.sample
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
export TOKEN=
|
||||||
|
export SUBDOMAINS=
|
Loading…
Reference in a new issue