Files
proxyserver/piped/docker-compose.yml
T
2023-11-06 14:05:07 -06:00

57 lines
2.0 KiB
YAML

version: '3'
services:
piped-frontend:
image: 1337kavin/piped-frontend:latest
restart: unless-stopped
depends_on:
- piped
container_name: piped-frontend
entrypoint: ash -c 'sed -i s/pipedapi.kavin.rocks/pipedapi.akanealw.com/g /usr/share/nginx/html/assets/* && /docker-entrypoint.sh && nginx -g "daemon off;"'
piped-proxy:
image: 1337kavin/piped-proxy:latest
restart: unless-stopped
environment:
- UDS=1
volumes:
- ${DOCKER_CONFIGS}/piped/piped-proxy:/app/socket
container_name: piped-proxy
piped:
image: 1337kavin/piped:latest
restart: unless-stopped
volumes:
- ${DOCKER_CONFIGS}/piped/config/config.properties:/app/config.properties:ro
depends_on:
- piped-postgres
container_name: piped-backend
piped-nginx:
image: nginx:mainline-alpine
restart: unless-stopped
ports:
- "8080:80"
volumes:
- ${DOCKER_CONFIGS}/piped/config/nginx.conf:/etc/nginx/nginx.conf:ro
- ${DOCKER_CONFIGS}/piped/config/pipedapi.conf:/etc/nginx/conf.d/pipedapi.conf:ro
- ${DOCKER_CONFIGS}/piped/config/pipedproxy.conf:/etc/nginx/conf.d/pipedproxy.conf:ro
- ${DOCKER_CONFIGS}/piped/config/pipedfrontend.conf:/etc/nginx/conf.d/pipedfrontend.conf:ro
- ${DOCKER_CONFIGS}/piped/config/ytproxy.conf:/etc/nginx/snippets/ytproxy.conf:ro
- ${DOCKER_CONFIGS}/piped/piped-proxy:/var/run/ytproxy
container_name: piped-nginx
depends_on:
- piped
- piped-proxy
- piped-frontend
piped-postgres:
image: postgres:15
restart: unless-stopped
volumes:
- ${DOCKER_CONFIGS}/piped/data/db:/var/lib/postgresql/data
environment:
- POSTGRES_DB=piped
- POSTGRES_USER=piped
- POSTGRES_PASSWORD=Vee0caiv8ieceeDae1aepheirophai
container_name: piped-postgres
networks:
piped: