Skip to content

Commit 9202972

Browse files
committed
chore: add example start
1 parent 49d2710 commit 9202972

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

examples/repmgr/start.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
if ! docker network ls --format '{{.Name}}' | grep -q "synohub" -; then
4+
docker network create --subnet=172.50.0.0/16 --ip-range=172.50.50.1/24 --gateway=172.50.0.1 psql-playground
5+
fi
6+
7+
PUID=$(id -u) PGID=$(id -g) docker-compose up -d

0 commit comments

Comments
 (0)