forked from griff/errbit-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.bash
More file actions
15 lines (13 loc) · 719 Bytes
/
run.bash
File metadata and controls
15 lines (13 loc) · 719 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
run() {
docker run --rm -e SMTP_SERVER=mail.lisberg.dk -e ERRBIT_EMAIL_FROM=errbit@lisberg.dk \
-e ERRBIT_HOST=ldbuild01.lisberg.local -e ERRBIT_PORT=3000 --link suspicious_curie:mongodb griff/errbit "$@"
}
if [ "$1" == "seed" ]; then
run seed
else
docker run -d --name errbit -p 3000:3000 -e SMTP_SERVER=mail.lisberg.dk -e ERRBIT_EMAIL_FROM=errbit@lisberg.dk \
-e ERRBIT_HOST=ldbuild01.lisberg.local -e ERRBIT_PORT=3000 --link suspicious_curie:mongodb griff/errbit web
#docker run --rm -p 3000:3000 -e SMTP_SERVER=mail.lisberg.dk -e ERRBIT_EMAIL_FROM=errbit@lisberg.dk \
# -e ERRBIT_HOST=ldbuild01.lisberg.local -e ERRBIT_PORT=3000 --link suspicious_curie:mongodb \
# -i -t griff/errbit bash
fi