mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 12:03:59 +00:00
16 lines
431 B
Bash
Executable File
16 lines
431 B
Bash
Executable File
#!/bin/bash
|
|
|
|
PROLE_HOME=~/dev/prole
|
|
|
|
export POSTGRES_PASSWORD=$(cat $PROLE_HOME/postgres-password.txt)
|
|
|
|
docker run --rm -it -u root \
|
|
--hostname=prole-db-00n \
|
|
-e POSTGRES_PASSWORD="$POSTGRES_PASSWORD" \
|
|
--env=PATH=/usr/lib/postgresql/17/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
|
|
--volume=/Users/chrisfu/dev/prole/data:/data \
|
|
--network=bridge \
|
|
--entrypoint bash \
|
|
--restart=no \
|
|
prole-db:17.5-025
|