Initial commit
This commit is contained in:
201
selfhosted_services/docker-compose.yaml
Normal file
201
selfhosted_services/docker-compose.yaml
Normal file
@@ -0,0 +1,201 @@
|
||||
services:
|
||||
shaarli:
|
||||
image: shaarli:latest
|
||||
container_name: self_shaarli
|
||||
networks:
|
||||
internal_traffic:
|
||||
ipv4_address: 192.168.3.10
|
||||
volumes:
|
||||
- data_shaarli:/var/www/shaarli/data
|
||||
- data_shaarli_cache:/var/www/shaarli/cache
|
||||
|
||||
restart: no
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.50'
|
||||
memory: 128M
|
||||
gitea:
|
||||
image: kunde21/gitea-arm:latest
|
||||
container_name: self_gitea
|
||||
networks:
|
||||
internal_traffic:
|
||||
ipv4_address: 192.168.3.20
|
||||
volumes:
|
||||
- data_gitea:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
restart: no
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.50'
|
||||
memory: 128M
|
||||
|
||||
|
||||
selfoss:
|
||||
container_name: self_selfoss
|
||||
image: rsprta/selfoss
|
||||
restart: no
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.50'
|
||||
memory: 128M
|
||||
networks:
|
||||
internal_traffic:
|
||||
ipv4_address: 192.168.3.30
|
||||
volumes:
|
||||
- data_selfoss:/selfoss/data
|
||||
tube:
|
||||
image: jellyfin/jellyfin:latest
|
||||
container_name: self_jellyfin
|
||||
networks:
|
||||
internal_traffic:
|
||||
ipv4_address: 192.168.3.37
|
||||
volumes:
|
||||
- "/opt/jellyfin/config:/config"
|
||||
- "/opt/jellyfin/cache:/cache"
|
||||
- "/opt/jellyfin/media:/media"
|
||||
|
||||
calibre:
|
||||
image: lscr.io/linuxserver/calibre-web:latest
|
||||
#image: rgcalibre:0.6.24
|
||||
container_name: self_calibre
|
||||
environment:
|
||||
#- PUID=1000
|
||||
#- PGID=1000
|
||||
- TZ=Europe/Warsaw
|
||||
#- DOCKER_MODS=linuxserver/mods:universal-calibre #optional
|
||||
- CALIBRE_PORT=80
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.50'
|
||||
memory: 512M
|
||||
volumes:
|
||||
- data_calibre_config:/config
|
||||
- /opt/books:/books
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
internal_traffic:
|
||||
ipv4_address: 192.168.3.38
|
||||
#postgres:
|
||||
# image: postgres:13
|
||||
# container_name: self_postgres
|
||||
# volumes:
|
||||
# #- /mnt/docker/joplin/postgres:/var/lib/postgresql/data
|
||||
# - data_postgres:/var/lib/postgresql/data
|
||||
# expose:
|
||||
# - 5432
|
||||
# networks:
|
||||
# internal_traffic:
|
||||
# ipv4_address: 192.168.3.41
|
||||
#
|
||||
# restart: unless-stopped
|
||||
#
|
||||
# environment:
|
||||
# - POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
# - POSTGRES_USER=${POSTGRES_USER}
|
||||
# - POSTGRES_DB=${POSTGRES_DATABASE}
|
||||
joplin:
|
||||
image: florider89/joplin-server:2.14.2
|
||||
container_name: self_joplin
|
||||
networks:
|
||||
internal_traffic:
|
||||
ipv4_address: 192.168.3.40
|
||||
#depends_on:
|
||||
# - postgres
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1024M
|
||||
restart: no
|
||||
environment:
|
||||
- APP_PORT=443
|
||||
- APP_BASE_URL=${APP_BASE_URL}
|
||||
- DB_CLIENT=pg
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- POSTGRES_DATABASE=${POSTGRES_DATABASE}
|
||||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_PORT=${POSTGRES_PORT}
|
||||
- POSTGRES_HOST=self_postgres
|
||||
|
||||
# nextcloud:
|
||||
# image: nextcloud
|
||||
# container_name: self_nextcloud
|
||||
# restart: no
|
||||
# networks:
|
||||
# internal_traffic:
|
||||
# ipv4_address: 192.168.3.70
|
||||
# deploy:
|
||||
# resources:
|
||||
# limits:
|
||||
# cpus: '0.50'
|
||||
# memory: 128M
|
||||
# volumes:
|
||||
# - data_nextcloud_storage:/var/www/html
|
||||
# environment:
|
||||
# - OVERWRITEPROTOCOL=https
|
||||
|
||||
firefly_importer:
|
||||
image: fireflyiii/data-importer:latest
|
||||
hostname: self_firefly_importer
|
||||
restart: always
|
||||
container_name: self_firefly_importer
|
||||
depends_on:
|
||||
- firefly
|
||||
env_file: firefly_importer.env
|
||||
networks:
|
||||
internal_traffic:
|
||||
ipv4_address: 192.168.3.74
|
||||
|
||||
firefly:
|
||||
image: fireflyiii/core:latest
|
||||
hostname: self_firefly
|
||||
container_name: self_firefly
|
||||
restart: always
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.50'
|
||||
memory: 512M
|
||||
|
||||
volumes:
|
||||
- data_firefly:/var/www/html/storage/upload
|
||||
env_file: firefly.env
|
||||
networks:
|
||||
internal_traffic:
|
||||
ipv4_address: 192.168.3.75
|
||||
|
||||
|
||||
volumes:
|
||||
data_nextcloud_storage:
|
||||
external: true
|
||||
|
||||
data_shaarli:
|
||||
external: true
|
||||
|
||||
data_shaarli_cache:
|
||||
external: true
|
||||
|
||||
data_gitea:
|
||||
external: true
|
||||
|
||||
data_selfoss:
|
||||
external: true
|
||||
|
||||
data_postgres:
|
||||
external: true
|
||||
|
||||
data_firefly:
|
||||
external: true
|
||||
|
||||
data_calibre_config:
|
||||
external: true
|
||||
|
||||
|
||||
networks:
|
||||
internal_traffic:
|
||||
external: true
|
||||
Reference in New Issue
Block a user