installed piped

This commit is contained in:
poslop
2024-11-18 13:29:10 -06:00
parent 7a3c868e98
commit 3a69c4b3f8
3 changed files with 79 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ services:
- caddy_set:/etc/caddy - caddy_set:/etc/caddy
- caddy_srv:/srv - caddy_srv:/srv
- caddy_data:/data - caddy_data:/data
- piped-proxy:/var/run/ytproxy
- caddy_config:/config - caddy_config:/config
networks: networks:
- caddy - caddy

View File

@@ -0,0 +1,76 @@
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

View File

@@ -25,6 +25,7 @@ services=(
"Tools/qbit.yml" "Tools/qbit.yml"
"Tools/open-webui.yml" "Tools/open-webui.yml"
"pterodactyl/docker-compose.yml" "pterodactyl/docker-compose.yml"
"Piped-Docker/docker-compose.yml"
) )
# Start building the docker compose command with multiple -f flags # Start building the docker compose command with multiple -f flags
@@ -36,7 +37,7 @@ for service in "${services[@]}"; do
done done
# Add the up command to the final docker compose command # Add the up command to the final docker compose command
COMPOSE_COMMAND+=" up -d" COMPOSE_COMMAND+=" --profile panel --profile daemon up -d"
# Execute the composed command # Execute the composed command
eval $COMPOSE_COMMAND eval $COMPOSE_COMMAND