discourse/bin/docker/psql

6 lines
121 B
Bash
Executable File

#!/bin/bash
PARAMS="$@"
CMD="USER=discourse psql $PARAMS"
docker exec -it -u postgres discourse_dev /bin/bash -c "$CMD"