feat: add stanalone installation process

This commit is contained in:
Bnyro 2025-02-27 12:10:54 +01:00
parent 90932ce768
commit 87e1239d9d
No known key found for this signature in database
2 changed files with 42 additions and 1 deletions

View File

@ -2,7 +2,7 @@
echo "Enter a hostname for the Frontend (eg: piped.kavin.rocks):" && read -r frontend
echo "Enter a hostname for the Backend (eg: pipedapi.kavin.rocks):" && read -r backend
echo "Enter a hostname for the Proxy (eg: pipedproxy.kavin.rocks):" && read -r proxy
echo "Enter the reverse proxy you would like to use (either caddy or nginx):" && read -r reverseproxy
echo "Enter the reverse proxy you would like to use (caddy, nginx or standalone):" && read -r reverseproxy
echo "Is your hostname reachable via HTTP or HTTPS? (eg: https)" && read -r http_mode
rm -rf config/

View File

@ -0,0 +1,41 @@
services:
piped-frontend:
image: 1337kavin/piped-frontend:latest
restart: unless-stopped
depends_on:
- piped
environment:
BACKEND_HOSTNAME: BACKEND_HOSTNAME_PLACEHOLDER
HTTP_MODE: HTTP_MODE_PLACEHOLDER
ports:
- "8080:80"
container_name: piped-frontend
piped-backend:
image: 1337kavin/piped:latest
restart: unless-stopped
volumes:
- ./config/config.properties:/app/config.properties:ro
depends_on:
- postgres
ports:
- "8081:8080"
container_name: piped-backend
piped-proxy:
image: 1337kavin/piped-proxy:latest
restart: unless-stopped
ports:
- "8082:8080"
container_name: piped-proxy
piped-postgres:
image: pgautoupgrade/pgautoupgrade:16-alpine
restart: unless-stopped
volumes:
- ./data/db:/var/lib/postgresql/data
environment:
- POSTGRES_DB=piped
- POSTGRES_USER=piped
- POSTGRES_PASSWORD=changeme
container_name: piped-postgres