Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
AURA
tank
Commits
fa1a5d8b
Commit
fa1a5d8b
authored
Dec 15, 2021
by
Ernesto Rico Schmidt
Browse files
Use a more consistent tank-postgres name for the container
parent
81a430b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
contrib/run_client.sh
View file @
fa1a5d8b
#!/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"
contrib/run_server.sh
View file @
fa1a5d8b
#!/bin/bash
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment