77 lines
1.8 KiB
YAML
77 lines
1.8 KiB
YAML
services:
|
|
piped-frontend:
|
|
image: 1337kavin/piped-frontend:latest
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- piped-backend
|
|
environment:
|
|
BACKEND_HOSTNAME: pipedapi.mintyserver.net
|
|
container_name: piped-frontend
|
|
networks:
|
|
- caddy
|
|
|
|
piped-proxy:
|
|
image: 1337kavin/piped-proxy:latest
|
|
restart: unless-stopped
|
|
environment:
|
|
- UDS=1
|
|
volumes:
|
|
- piped-proxy:/app/socket
|
|
container_name: piped-proxy
|
|
networks:
|
|
- caddy
|
|
|
|
piped-backend:
|
|
image: 1337kavin/piped:latest
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /etc/piped/config.properties:/app/config.properties
|
|
depends_on:
|
|
- postgres-piped
|
|
container_name: piped-backend
|
|
networks:
|
|
- piped
|
|
- caddy
|
|
|
|
piped-nginx:
|
|
image: nginx:mainline-alpine
|
|
restart: unless-stopped
|
|
volumes:
|
|
- piped-nginx:/etc/nginx
|
|
#- ./config/nginx.conf:/etc/nginx/nginx.conf:ro
|
|
#- ./config/pipedapi.conf:/etc/nginx/conf.d/pipedapi.conf:ro
|
|
container_name: piped-nginx
|
|
depends_on:
|
|
- piped-backend
|
|
networks:
|
|
- caddy
|
|
|
|
postgres-piped:
|
|
image: pgautoupgrade/pgautoupgrade:16-alpine
|
|
restart: unless-stopped
|
|
volumes:
|
|
- piped-db:/var/lib/postgresql/data
|
|
environment:
|
|
- POSTGRES_DB=piped
|
|
- POSTGRES_USER=piped
|
|
- POSTGRES_PASSWORD=${PASS}
|
|
container_name: postgres-piped
|
|
networks:
|
|
- piped
|
|
|
|
volumes:
|
|
piped-proxy: null
|
|
piped-db:
|
|
external: true
|
|
piped-nginx:
|
|
external: true
|
|
piped-config:
|
|
external: true
|
|
|
|
networks:
|
|
caddy:
|
|
external: true
|
|
piped:
|
|
external: true
|
|
|