You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
pastes.sh/production.yml

49 lines
838 B

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: