Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
c4e330bb
Commit
c4e330bb
authored
6 years ago
by
Jan David Mol
Browse files
Options
Downloads
Patches
Plain Diff
Task
LSMR-102
: Link docker containers together, instead of all using the localhost network
parent
efd86190
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!87
Lsmr epic
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
SAS/LSMR/docker/README
+3
-3
3 additions, 3 deletions
SAS/LSMR/docker/README
SAS/LSMR/docker/lsmr/dbcreds.ini
+1
-1
1 addition, 1 deletion
SAS/LSMR/docker/lsmr/dbcreds.ini
with
4 additions
and
4 deletions
SAS/LSMR/docker/README
+
3
−
3
View file @
c4e330bb
...
...
@@ -5,8 +5,8 @@ To build:
To start the PostgreSQL container:
docker run
--net=host
--name
postgres --rm lsmr-postgres
docker run --name
=
postgres
-$USER
--rm lsmr-postgres
To start the LSMR container:
To start the LSMR container
(exposing port 8001 to surf to)
:
docker run --rm -
-net=host
lsmr
docker run --rm -
p 0.0.0.0:8001:8000 --link=postgres-$USER:postgres
lsmr
This diff is collapsed.
Click to expand it.
SAS/LSMR/docker/lsmr/dbcreds.ini
+
1
−
1
View file @
c4e330bb
[database:lsmr]
host
=
localhost
host
=
postgres
user
=
lsmr
password
=
lsmr
database
=
lsmr
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment