Skip to content

Commit

Permalink
Update stack deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
socheatsok78 committed Nov 22, 2023
1 parent bf9e2f0 commit b540d47
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions stack/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# About

Using docker stack deploy to deploy the `dockerswarm_sd_server` service to Docker Swarm.

## Deploy

Run the following command to deploy the `dockerswarm_sd_server` service to Docker Swarm.

```bash
docker stack deploy -c docker-compose.yml dockerswarm_sd
```

## Remove

```bash
docker stack rm dockerswarm_sd
```
2 changes: 1 addition & 1 deletion stack/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ networks:
external: true

services:
dockerswarm_sd_server:
server:
image: socheatsok78/dockerswarm_sd_server:latest
networks:
- dockerswarm_sd_network
Expand Down

0 comments on commit b540d47

Please sign in to comment.