pastes.sh/production.yml

50 lines
838 B
YAML
Raw Normal View History

2022-07-13 19:30:27 +02:00
version: "3.7"
services:
caddy:
image: neurosnap/pastes-caddy
restart: unless-stopped
env_file:
- .env.prod
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data
- caddy_config:/config
ports:
- "443:443"
- "80:80"
links:
- web
db:
image: postgres
restart: unless-stopped
env_file:
- .env.prod
volumes:
- db_data:/var/lib/postgresql/data
web:
image: neurosnap/pastes-web
restart: unless-stopped
env_file:
- .env.prod
links:
- db
ssh:
image: neurosnap/pastes-ssh
restart: unless-stopped
ports:
- "22:2222"
env_file:
- .env.prod
links:
- db
volumes:
- ssh_data:/app/ssh_data
volumes:
db_data:
caddy_data:
ssh_data:
caddy_config:
gemini_data: