Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
whats-open
Commits
8a0111fe
Verified
Commit
8a0111fe
authored
Oct 13, 2017
by
David Haynes
🙆
Browse files
Update docs to support docker swarm
- again, copy from go Closes
#67
parent
e3704bcb
Pipeline
#1673
passed with stage
in 1 minute and 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
8a0111fe
...
...
@@ -121,19 +121,17 @@ Additionally, you will need to install docker-compose: https://docs.docker.com/c
Next inside the
`whats-open/`
root directory run:
docker
-compose build
docker
build . -t 'whats-open-api'
If that doesn't work, try:
This builds the docker image that we will deploy to the swarm in a stack.
sudo docker-compose build
Initialize your swarm:
Then, follow up with:
docker swarm init
docker-compose up
And finally,
If that doesn't work, try:
sudo docker-compose build
docker stack deploy whats-open-api_stack -c docker-compose.yml
You should see that the server is running by going to http://localhost:8000
in your browser. Any changes you make to your local file system will be mirrored in the server.
...
...
Write
Preview
Markdown
is supported
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