Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
## 멀티 컨테이너 어플리케이션을 실행합니다.
[root@workspace-vm deploy]# curl -XPOST http://localhost:80/link -H "Content-Type: application/json" -d '{"link":"http://wiki.thesanseiisanse.com"}'
{"shortenedLink":"http://localhost:8080/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]#