jabogram/server/docker-compose.yml
2026-03-02 14:40:03 +03:00

68 lines
1.6 KiB
YAML

version: "3.3"
services:
snikket_proxy:
container_name: snikket-proxy
image: snikket/snikket-web-proxy:stable
env_file: snikket.conf
network_mode: host
volumes:
- snikket_data:/snikket
- acme_challenges:/var/www/html/.well-known/acme-challenge
restart: "unless-stopped"
depends_on:
- snikket_server
snikket_certs:
container_name: snikket-certs
image: snikket/snikket-cert-manager:stable
env_file: snikket.conf
network_mode: host
volumes:
- snikket_data:/snikket
- acme_challenges:/var/www/.well-known/acme-challenge
restart: "unless-stopped"
snikket_portal:
container_name: snikket-portal
image: snikket/snikket-web-portal:stable
env_file: snikket.conf
network_mode: host
restart: "unless-stopped"
depends_on:
- snikket_server
snikket_server:
container_name: snikket
image: snikket/snikket-server:stable
env_file:
- snikket.conf
- secrets.env
network_mode: host
volumes:
- snikket_data:/snikket
- ./prosody.cfg.lua:/etc/prosody/conf.d/custom.cfg.lua:ro
- /mnt/snikket-files:/snikket/prosody/share%2ejbr%2ebvn13%2eme/http_file_share
restart: "unless-stopped"
depends_on:
- postgres
- s3_upload_handler
postgres:
container_name: snikket-postgres
image: postgres:17
env_file:
- secrets.env
environment:
POSTGRES_DB: snikket
POSTGRES_USER: snikket
volumes:
- postgres_data:/var/lib/postgresql/data
network_mode: host
restart: "unless-stopped"
volumes:
acme_challenges:
snikket_data:
postgres_data: