mirror of
https://tangled.org/tranquil.farm/tranquil-pds
synced 2026-09-03 16:56:54 +00:00
Rename to tranquil PDS, sounds better than bullshit PDS
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
[Unit]
|
||||
Description=BSPDS postgres database
|
||||
[Container]
|
||||
ContainerName=bspds-db
|
||||
Image=docker.io/library/postgres:18-alpine
|
||||
Pod=bspds.pod
|
||||
Environment=POSTGRES_USER=bspds
|
||||
Environment=POSTGRES_DB=pds
|
||||
Secret=bspds-db-password,type=env,target=POSTGRES_PASSWORD
|
||||
Volume=/srv/bspds/postgres:/var/lib/postgresql/data:Z
|
||||
HealthCmd=pg_isready -U bspds -d pds
|
||||
HealthInterval=10s
|
||||
HealthTimeout=5s
|
||||
HealthRetries=5
|
||||
HealthStartPeriod=10s
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
@@ -1,15 +0,0 @@
|
||||
[Unit]
|
||||
Description=BSPDS nginx reverse proxy
|
||||
After=bspds-app.service
|
||||
[Container]
|
||||
ContainerName=bspds-nginx
|
||||
Image=docker.io/library/nginx:1.28-alpine
|
||||
Pod=bspds.pod
|
||||
Volume=/srv/bspds/config/nginx.conf:/etc/nginx/nginx.conf:ro,Z
|
||||
Volume=/srv/bspds/certs:/etc/nginx/certs:ro,Z
|
||||
Volume=/srv/bspds/acme:/var/www/acme:ro,Z
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
@@ -1,11 +1,11 @@
|
||||
[Unit]
|
||||
Description=BSPDS AT Protocol PDS
|
||||
After=bspds-db.service bspds-minio.service bspds-valkey.service
|
||||
Description=Tranquil PDS AT Protocol PDS
|
||||
After=tranquil-pds-db.service tranquil-pds-minio.service tranquil-pds-valkey.service
|
||||
[Container]
|
||||
ContainerName=bspds-app
|
||||
Image=localhost/bspds:latest
|
||||
Pod=bspds.pod
|
||||
EnvironmentFile=/srv/bspds/config/bspds.env
|
||||
ContainerName=tranquil-pds-app
|
||||
Image=localhost/tranquil-pds:latest
|
||||
Pod=tranquil-pds.pod
|
||||
EnvironmentFile=/srv/tranquil-pds/config/tranquil-pds.env
|
||||
Environment=SERVER_HOST=0.0.0.0
|
||||
Environment=SERVER_PORT=3000
|
||||
Environment=S3_ENDPOINT=http://localhost:9000
|
||||
@@ -0,0 +1,20 @@
|
||||
[Unit]
|
||||
Description=Tranquil PDS postgres database
|
||||
[Container]
|
||||
ContainerName=tranquil-pds-db
|
||||
Image=docker.io/library/postgres:18-alpine
|
||||
Pod=tranquil-pds.pod
|
||||
Environment=POSTGRES_USER=tranquil_pds
|
||||
Environment=POSTGRES_DB=pds
|
||||
Secret=tranquil-pds-db-password,type=env,target=POSTGRES_PASSWORD
|
||||
Volume=/srv/tranquil-pds/postgres:/var/lib/postgresql/data:Z
|
||||
HealthCmd=pg_isready -U tranquil_pds -d pds
|
||||
HealthInterval=10s
|
||||
HealthTimeout=5s
|
||||
HealthRetries=5
|
||||
HealthStartPeriod=10s
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
+5
-5
@@ -1,12 +1,12 @@
|
||||
[Unit]
|
||||
Description=BSPDS minio object storage
|
||||
Description=Tranquil PDS minio object storage
|
||||
[Container]
|
||||
ContainerName=bspds-minio
|
||||
ContainerName=tranquil-pds-minio
|
||||
Image=docker.io/minio/minio:RELEASE.2025-10-15T17-29-55Z
|
||||
Pod=bspds.pod
|
||||
Pod=tranquil-pds.pod
|
||||
Environment=MINIO_ROOT_USER=minioadmin
|
||||
Secret=bspds-minio-password,type=env,target=MINIO_ROOT_PASSWORD
|
||||
Volume=/srv/bspds/minio:/data:Z
|
||||
Secret=tranquil-pds-minio-password,type=env,target=MINIO_ROOT_PASSWORD
|
||||
Volume=/srv/tranquil-pds/minio:/data:Z
|
||||
Exec=server /data --console-address :9001
|
||||
HealthCmd=curl -f http://localhost:9000/minio/health/live || exit 1
|
||||
HealthInterval=30s
|
||||
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=Tranquil PDS nginx reverse proxy
|
||||
After=tranquil-pds-app.service
|
||||
[Container]
|
||||
ContainerName=tranquil-pds-nginx
|
||||
Image=docker.io/library/nginx:1.28-alpine
|
||||
Pod=tranquil-pds.pod
|
||||
Volume=/srv/tranquil-pds/config/nginx.conf:/etc/nginx/nginx.conf:ro,Z
|
||||
Volume=/srv/tranquil-pds/certs:/etc/nginx/certs:ro,Z
|
||||
Volume=/srv/tranquil-pds/acme:/var/www/acme:ro,Z
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
+4
-4
@@ -1,10 +1,10 @@
|
||||
[Unit]
|
||||
Description=BSPDS valkey cache
|
||||
Description=Tranquil PDS valkey cache
|
||||
[Container]
|
||||
ContainerName=bspds-valkey
|
||||
ContainerName=tranquil-pds-valkey
|
||||
Image=docker.io/valkey/valkey:9-alpine
|
||||
Pod=bspds.pod
|
||||
Volume=/srv/bspds/valkey:/data:Z
|
||||
Pod=tranquil-pds.pod
|
||||
Volume=/srv/tranquil-pds/valkey:/data:Z
|
||||
Exec=valkey-server --appendonly yes --maxmemory 256mb --maxmemory-policy allkeys-lru
|
||||
HealthCmd=valkey-cli ping
|
||||
HealthInterval=10s
|
||||
@@ -1,5 +1,5 @@
|
||||
[Pod]
|
||||
PodName=bspds
|
||||
PodName=tranquil-pds
|
||||
PublishPort=80:80
|
||||
PublishPort=443:443
|
||||
[Install]
|
||||
Reference in New Issue
Block a user