Commit fa1a5d8b authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

Use a more consistent tank-postgres name for the container

parent 81a430b5
#!/bin/bash #!/bin/bash
exec docker exec -it aura-postgres /bin/bash -c "echo \"alias psql='psql -U tank'\" > /tmp/.bashrc-psql; cd /scripts/; exec bash --rcfile /tmp/.bashrc-psql" exec docker exec -it tank-postgres /bin/bash -c "echo \"alias psql='psql -U tank'\" > /tmp/.bashrc-psql; cd /scripts/; exec bash --rcfile /tmp/.bashrc-psql"
#!/bin/bash #!/bin/bash
SCRIPTS_D=$(realpath "${BASH_SOURCE%/*}/") SCRIPTS_D=$(realpath "${BASH_SOURCE%/*}/")
exec docker run -it --rm --name aura-postgres -e POSTGRES_USER=tank -e POSTGRES_PASSWORD=aura -v "$SCRIPTS_D:/scripts:ro" -p 5432:5432 postgres:10.19 exec docker run -it --rm --name tank-postgres -e POSTGRES_USER=tank -e POSTGRES_PASSWORD=aura -v "$SCRIPTS_D:/scripts:ro" -p 5432:5432 postgres:10.19
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment