Files
dockerserver/piped/compose.yml
2024-03-29 03:17:50 -05:00

76 lines
2.1 KiB
YAML
Executable File

version: '3'
services:
# piped:
# container_name: piped
# image: 1337kavin/piped:latest
# depends_on:
# - piped-postgres
# networks:
# - piped
# restart: always
# volumes:
# - ${DOCKER_CONFIGS}/config/config.properties:/app/config.properties:ro
# piped-frontend:
# container_name: piped-frontend
# image: 1337kavin/piped-frontend:latest
# 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;"'
# networks:
# - piped
# depends_on:
# - piped
# restart: always
# piped-nginx:
# container_name: piped-nginx
# image: nginx:mainline-alpine
# depends_on:
# - piped
# - piped-proxy
# - piped-frontend
# networks:
# - piped
# - reverse-proxy
# ports:
# - 8585:80
# restart: always
# volumes:
# - ${DOCKER_CONFIGS}/config/nginx.conf:/etc/nginx/nginx.conf:ro
# - ${DOCKER_CONFIGS}/config/pipedapi.conf:/etc/nginx/conf.d/pipedapi.conf:ro
# - ${DOCKER_CONFIGS}/config/pipedproxy.conf:/etc/nginx/conf.d/pipedproxy.conf:ro
# - ${DOCKER_CONFIGS}/config/pipedfrontend.conf:/etc/nginx/conf.d/pipedfrontend.conf:ro
# - ${DOCKER_CONFIGS}/config/ytproxy.conf:/etc/nginx/snippets/ytproxy.conf:ro
# - ${DOCKER_CONFIGS}/piped-proxy:/var/run/ytproxy
# piped-postgres:
# container_name: piped-postgres
# image: postgres:15
# environment:
# - POSTGRES_DB=piped
# - POSTGRES_USER=piped
# - POSTGRES_PASSWORD=Vee0caiv8ieceeDae1aepheirophai
# networks:
# - piped
# restart: always
# volumes:
# - ${DOCKER_CONFIGS}/data/db:/var/lib/postgresql/data
# piped-proxy:
# container_name: piped-proxy
# image: 1337kavin/piped-proxy:latest
# environment:
# - UDS=1
# networks:
# - piped
# restart: always
# volumes:
# - ${DOCKER_CONFIGS}/piped-proxy:/app/socket
networks:
piped:
name: piped
reverse-proxy:
name: reverse-proxy
external: true