...
Code Block |
---|
## 멀티 컨테이너 어플리케이션을 실행합니다.
[root@workspace-vm deploy]# curl -XPOST http://localhost/link -H "Content-Type: application/json" -d '{"link":"http://wiki.iisanse.com"}'
{"shortenedLink":"http://localhost/link/MrzIHZ"} |
Code Block |
---|
## Docker compose 멀티 컨테이너를 정리 합니다. [root@workspace-vm deploy]# docker-compose down Stopping deploy_reactor-demo_1 ... done Stopping deploy_redis_1 ... done Removing deploy_reactor-demo_1 ... done Removing deploy_redis_1 ... done Removing network deploy_default [root@workspace-vm deploy]# [root@workspace-vm deploy]# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES [root@workspace-vm deploy]# |