Compare commits
4 Commits
26a8204919
...
main
Author | SHA1 | Date | |
---|---|---|---|
3ae888e62a | |||
de3dc53d28 | |||
82cd61a129 | |||
b869c93b4b |
31
pod-nextcloud.sh
Normal file
31
pod-nextcloud.sh
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
|
||||||
|
podman pod create --name nextcloud-pod --replace=true \
|
||||||
|
-p 8080:80 \
|
||||||
|
-p 5080:5080
|
||||||
|
|
||||||
|
podman run --name=nextcloud-db --pod=nextcloud-pod -d --replace=true \
|
||||||
|
--pull=always \
|
||||||
|
-e POSTGRES_PASSWORD="" \
|
||||||
|
-e POSTGRES_USER="nextcloud" \
|
||||||
|
-v postgres-data:/var/lib/postgresql/data \
|
||||||
|
postgres:15
|
||||||
|
|
||||||
|
podman run --name pgadmin --pod nextcloud-pod -d --replace=true \
|
||||||
|
--pull=always \
|
||||||
|
-v pgadmindata:/var/lib/pgadmin \
|
||||||
|
-e PGADMIN_LISTEN_PORT=5080 \
|
||||||
|
-e PGADMIN_DEFAULT_EMAIL="" \
|
||||||
|
-e PGADMIN_DEFAULT_PASSWORD="" \
|
||||||
|
-d dpage/pgadmin4
|
||||||
|
|
||||||
|
podman run --name=nextcloud-app --pod=nextcloud-pod -d --replace=true \
|
||||||
|
--pull=always \
|
||||||
|
--health-cmd="curl http://localhost || exit 1" \
|
||||||
|
-v /mnt/var/local/nextcloud:/var/www/html:Z \
|
||||||
|
-v /mnt/nas/projekte:/mnt/projekte --security-opt label=disable \
|
||||||
|
-v /mnt/nas/archiv:/mnt/archiv --security-opt label=disable \
|
||||||
|
nextcloud:25
|
@ -1,19 +1,19 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
podman pull dpage/pgadmin4
|
|
||||||
podman pull postgres:14
|
|
||||||
|
|
||||||
podman pod create --name postgres-pod \
|
podman pod create --name postgres-pod \
|
||||||
--replace=true \
|
--replace=true \
|
||||||
-p 5080:80 \
|
-p 5080:80 \
|
||||||
-p 5432:5432
|
-p 5432:5432
|
||||||
|
|
||||||
podman run --name main-db --pod postgres-pod --replace=true \
|
podman run --name main-db --pod postgres-pod --replace=true \
|
||||||
-v pgdata:/var/lib/postgresql/data \
|
--pull=always \
|
||||||
-e POSTGRES_PASSWORD=postgres \
|
-v pgdata:/var/lib/postgresql/data \
|
||||||
-d postgres:14
|
-e POSTGRES_PASSWORD=postgres \
|
||||||
|
-d postgres:14
|
||||||
|
|
||||||
podman run --name pgadmin --pod postgres-pod --replace=true \
|
podman run --name pgadmin --pod postgres-pod --replace=true \
|
||||||
-e PGADMIN_DEFAULT_EMAIL="hello@postgres" \
|
--pull=always \
|
||||||
|
-v pgadmindata:/var/lib/pgadmin \
|
||||||
|
-e PGADMIN_DEFAULT_EMAIL="hello@postgres.xyz" \
|
||||||
-e PGADMIN_DEFAULT_PASSWORD="postgres" \
|
-e PGADMIN_DEFAULT_PASSWORD="postgres" \
|
||||||
-d dpage/pgadmin4
|
-d dpage/pgadmin4
|
||||||
|
Reference in New Issue
Block a user