reordered docker compose removed searxng

This commit is contained in:
2023-11-06 14:10:40 -06:00
parent 3e9875aa54
commit 42442cb1f8
2 changed files with 24 additions and 29 deletions
+24 -20
View File
@@ -2,33 +2,41 @@ version: '3'
services:
piped-frontend:
container_name: piped-frontend
image: 1337kavin/piped-frontend:latest
restart: unless-stopped
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
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;"'
restart: always
piped-proxy:
container_name: piped-proxy
image: 1337kavin/piped-proxy:latest
restart: unless-stopped
environment:
- UDS=1
restart: always
volumes:
- ${DOCKER_CONFIGS}/piped/piped-proxy:/app/socket
container_name: piped-proxy
piped:
container_name: piped-backend
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
restart: always
volumes:
- ${DOCKER_CONFIGS}/piped/config/config.properties:/app/config.properties:ro
piped-nginx:
container_name: piped-nginx
image: nginx:mainline-alpine
restart: unless-stopped
depends_on:
- piped
- piped-proxy
- piped-frontend
ports:
- "8080:80"
- "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
@@ -36,21 +44,17 @@ services:
- ${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:
container_name: 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
restart: always
volumes:
- ${DOCKER_CONFIGS}/piped/data/db:/var/lib/postgresql/data
networks:
piped: