Remove pgAdmin from shared infra setup

Start without UI; pgAdmin can be added later as optional service.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Christoph K.
2026-04-07 15:57:52 +02:00
parent 2a74ea3702
commit 1fb015b0fc
2 changed files with 155 additions and 17 deletions

View File

@@ -24,8 +24,6 @@ Synology NAS
```bash
sudo mkdir -p /volume2/docker/shared/pgdata
sudo mkdir -p /volume2/docker/shared/pgadmin
sudo chown -R 5050:5050 /volume2/docker/shared/pgadmin
```
### docker-compose.yml anlegen
@@ -49,18 +47,6 @@ services:
interval: 5s
timeout: 5s
retries: 5
pgadmin:
image: dpage/pgadmin4:latest
restart: unless-stopped
ports:
- "5050:8080"
environment:
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_EMAIL}
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_PASSWORD}
PGADMIN_LISTEN_PORT: 8080
volumes:
- /volume2/docker/shared/pgadmin:/var/lib/pgadmin
```
### .env anlegen
@@ -69,8 +55,6 @@ Datei `/volume2/docker/shared/.env`:
```env
POSTGRES_PASSWORD=<sicheres-passwort>
PGADMIN_EMAIL=deine@email.de
PGADMIN_PASSWORD=<pgadmin-passwort>
```
### Starten
@@ -154,7 +138,6 @@ sudo docker run -d \
| Dienst | URL |
|--------|-----|
| Pamietnik App | `http://<NAS-IP>:9050` |
| pgAdmin | `http://<NAS-IP>:5050` |
| PostgreSQL | `psql -h <NAS-IP> -p 5433 -U pamietnik -d pamietnik` |
---