Stashapp/compose.yml

118 lines
2.8 KiB
YAML
Raw Normal View History

2022-12-31 08:06:00 +00:00
version: '3.6'
volumes:
certs:
acme:
html:
sonic:
networks:
proxy:
archivebox:
external: false
onlyoffice:
external: false
services:
2024-02-24 22:02:31 +00:00
nginx-proxy:
2024-02-24 22:42:13 +00:00
image: ${stashapp_proxy_image}
2024-02-24 22:02:31 +00:00
container_name: nginx-proxy
restart: always
ports:
- 80:80
- 443:443
labels:
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
volumes:
- certs:/etc/nginx/certs:ro
- ./vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
networks:
- proxy
letsencrypt-companion:
image: ${stashapp_acme_image}
container_name: acme-companion
restart: always
volumes:
- certs:/etc/nginx/certs
- acme:/etc/acme.sh
- ./vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- proxy
depends_on:
- nginx-proxy
2022-12-31 08:06:00 +00:00
trilium:
2024-02-24 22:02:31 +00:00
image: ${stashapp_trilium_image}
2022-12-31 08:06:00 +00:00
container_name: trilium
restart: always
environment:
- VIRTUAL_PORT=8080
2024-02-24 22:56:09 +00:00
- VIRTUAL_HOST=${stashapp_notes_domain},www.${stashapp_notes_domain}
- LETSENCRYPT_HOST=${stashapp_notes_domain},www.${stashapp_notes_domain}
2022-12-31 08:06:00 +00:00
- TRILIUM_DATA_DIR=/home/node/data
volumes:
- ./.data/trilium:/home/node/data
networks:
- proxy
filestash:
2024-02-24 22:02:31 +00:00
image: ${stashapp_filestash_image}
2022-12-31 08:06:00 +00:00
container_name: filestash
restart: always
environment:
- VIRTUAL_PORT=8334
2024-02-24 22:46:18 +00:00
- VIRTUAL_HOST=${stashapp_filestash_domain}
- LETSENCRYPT_HOST=${stashapp_filestash_domain}
- APPLICATION_URL=${stashapp_filestash_domain}
2022-12-31 08:06:00 +00:00
- ONLYOFFICE_URL=http://onlyoffice
2023-01-18 05:36:34 +00:00
volumes:
2023-01-18 05:47:50 +00:00
- .data/filestash:/app/data
2022-12-31 08:06:00 +00:00
networks:
- proxy
- onlyoffice
onlyoffice:
2024-02-24 22:02:31 +00:00
image: ${stashapp_onlyoffice_image}
2022-12-31 08:06:00 +00:00
container_name: onlyoffice
restart: always
networks:
- onlyoffice
2023-01-18 06:04:58 +00:00
security_opt:
- seccomp:unconfined
2022-12-31 08:06:00 +00:00
archivebox:
2024-02-24 22:02:31 +00:00
image: ${stashapp_archivebox_image}
2022-12-31 08:06:00 +00:00
container_name: archivebox
command: server --quick-init 0.0.0.0:8000
environment:
- VIRTUAL_PORT=8000
2024-02-24 22:56:09 +00:00
- VIRTUAL_HOST=${stashapp_archivebox_domain},www.${stashapp_archivebox_domain}
- LETSENCRYPT_HOST=${stashapp_archivebox_domain},www.${stashapp_archivebox_domain}
2022-12-31 08:06:00 +00:00
- MEDIA_MAX_SIZE=750m
- SEARCH_BACKEND_ENGINE=sonic
- SEARCH_BACKEND_HOST_NAME=sonic
2024-02-24 22:02:31 +00:00
- SEARCH_BACKEND_PASSWORD=${stashapp_sonic_pw}
2022-12-31 08:06:00 +00:00
volumes:
- ./.data/archivebox:/data
networks:
- proxy
- archivebox
sonic:
2024-02-24 22:02:31 +00:00
image: ${stashapp_sonic_image}
2022-12-31 08:06:00 +00:00
container_name: sonic
expose:
- 1491
environment:
2024-02-24 22:02:31 +00:00
- SEARCH_BACKEND_PASSWORD=${stashapp_sonic_pw}
2022-12-31 08:06:00 +00:00
volumes:
- ./sonic.cfg:/etc/sonic.cfg:ro
- sonic:/var/lib/sonic/store
networks:
- archivebox