moved piped compose to main compose
This commit is contained in:
@@ -235,6 +235,61 @@ services:
|
||||
- ${DOCKER_CONFIGS}/pihole/unbound:/etc/pihole:rw
|
||||
- ${DOCKER_CONFIGS}/pihole/dnsmasq-unbound:/etc/dnsmasq.d:rw
|
||||
|
||||
piped:
|
||||
container_name: piped-backend
|
||||
image: 1337kavin/piped:latest
|
||||
depends_on:
|
||||
- piped-postgres
|
||||
restart: always
|
||||
volumes:
|
||||
- ${DOCKER_CONFIGS}/piped/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;"'
|
||||
depends_on:
|
||||
- piped
|
||||
restart: always
|
||||
|
||||
piped-nginx:
|
||||
container_name: piped-nginx
|
||||
image: nginx:mainline-alpine
|
||||
depends_on:
|
||||
- piped
|
||||
- piped-proxy
|
||||
- piped-frontend
|
||||
ports:
|
||||
- "8585:80"
|
||||
restart: always
|
||||
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
|
||||
|
||||
piped-postgres:
|
||||
container_name: piped-postgres
|
||||
image: postgres:15
|
||||
environment:
|
||||
- POSTGRES_DB=piped
|
||||
- POSTGRES_USER=piped
|
||||
- POSTGRES_PASSWORD=Vee0caiv8ieceeDae1aepheirophai
|
||||
restart: always
|
||||
volumes:
|
||||
- ${DOCKER_CONFIGS}/piped/data/db:/var/lib/postgresql/data
|
||||
|
||||
piped-proxy:
|
||||
container_name: piped-proxy
|
||||
image: 1337kavin/piped-proxy:latest
|
||||
environment:
|
||||
- UDS=1
|
||||
restart: always
|
||||
volumes:
|
||||
- ${DOCKER_CONFIGS}/piped/piped-proxy:/app/socket
|
||||
|
||||
shlink-server:
|
||||
container_name: shlink-server
|
||||
image: shlinkio/shlink:stable
|
||||
|
||||
Reference in New Issue
Block a user