Browse Source

Basic services

main
srv 1 year ago
commit
be4e815d48
  1. 21
      firefly/docker-compose.yaml
  2. 41
      gitea/docker-compose.yml
  3. 14
      grocy/docker-compose.yml
  4. 20
      jellyfin/docker-compose.yml
  5. 49
      managers/docker-compose.yml
  6. 29
      pritunl/docker-compose.yml

21
firefly/docker-compose.yaml

@ -0,0 +1,21 @@
version: '3.3'
services:
fireflyiii:
image: fireflyiii/core:latest
volumes:
- ${APPSDIR}/firefly/firefly_iii_upload:/var/www/html/storage/upload
env_file: .env
ports:
- 9912:8080
depends_on:
- fireflyiiidb
fireflyiiidb:
image: yobasystems/alpine-mariadb:latest
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=yes
- MYSQL_USER=firefly
- MYSQL_PASSWORD=secret_firefly_password
- MYSQL_DATABASE=firefly
volumes:
- ${APPSDIR}/firefly/firefly_db:/var/lib/mysql

41
gitea/docker-compose.yml

@ -0,0 +1,41 @@
version: "3"
networks:
gitea:
external: false
services:
server:
image: gitea/gitea:1.16.9
container_name: gitea
environment:
- USER_UID=1000
- USER_GID=1000
- GITEA__database__DB_TYPE=postgres
- GITEA__database__HOST=db:5432
- GITEA__database__NAME=gitea
- GITEA__database__USER=gitea
- GITEA__database__PASSWD=gitea
restart: always
networks:
- gitea
volumes:
- ${APPSDIR}/gitea/gitea-data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "222:22"
depends_on:
- db
db:
image: postgres:14
restart: always
environment:
- POSTGRES_USER=gitea
- POSTGRES_PASSWORD=gitea
- POSTGRES_DB=gitea
networks:
- gitea
volumes:
- ${APPSDIR}/gitea/postgres:/var/lib/postgresql/data

14
grocy/docker-compose.yml

@ -0,0 +1,14 @@
version: "2.1"
services:
grocy:
image: lscr.io/linuxserver/grocy:latest
container_name: grocy
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
volumes:
- ${APPSDIR}/grocy/config:/config
ports:
- 9283:80
restart: unless-stopped

20
jellyfin/docker-compose.yml

@ -0,0 +1,20 @@
version: "2.1"
services:
jellyfin:
image: ghcr.io/linuxserver/jellyfin
container_name: jellyfin
environment:
- PUID=${PUID}
- PGID=${PUID}
- TZ=${TZ}
volumes:
- ${BACKUPDIR}/jellyfin:/backups:rw
- ${APPSDIR}/jellyfin/config:/config:rw
- ${MEDIADIR}/series:/data/tvshows:rw
- ${MEDIADIR}/movies:/data/libmovies:rw
- ${MEDIADIR}/musics:/data/musics:rw
- ${MEDIADIR}/courses:/data/courses:rw
- ${MEDIADIR}/audiocourses:/data/audiocourses:rw
ports:
- 8096:8096
restart: "unless-stopped"

49
managers/docker-compose.yml

@ -0,0 +1,49 @@
version: "3.6"
services:
######### FRONTENDS ##########
#Portainer - WebUI for Containers
portainer:
image: portainer/portainer
hostname: portainer
container_name: portainer
restart: always
command: -H unix:///var/run/docker.sock
ports:
- "9000:9000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- .portainer/data:/data
- .shared:/shared
environment:
- TZ=${TZ}
# Organizer - Unified HTPC/Home Server Web Interface
organizr:
container_name: organizr
hostname: organizr
restart: always
image: organizr/organizr
volumes:
- ./organizr:/config
- ./shared:/shared
ports:
- "8080:80"
environment:
- PUID="1000"
- PGID="1001"
- TZ="America/Sao_Paulo"
- fpm="false"
######### DOCKER RELATED ##########
# Watchtower - Automatic Update of Containers/Apps
watchtower:
container_name: watchtower
hostname: watchtower
restart: always
image: v2tec/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --schedule "0 0 4 * * *" --cleanup

29
pritunl/docker-compose.yml

@ -0,0 +1,29 @@
version: '3'
services:
mongo:
image: mongo:4.4.6
container_name: pritunldb
hostname: pritunldb
volumes:
- ${APPSDIR}/pritunl/db:/data/db
pritunl:
image: goofball222/pritunl:latest
container_name: pritunl
hostname: pritunl
privileged: true
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
links:
- mongo
volumes:
- /etc/localtime:/etc/localtime:ro
ports:
- 1194:1194
- 1194:1194/udp
- 9700:9700
environment:
- TZ=UTC
- MONGODB_URI=mongodb://mongo:27017/pritunl
- REVERSE_PROXY=true
Loading…
Cancel
Save