Versions Compared

Key

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


Code Block
titledeploy/docker-compose.yml
version: '3'

services:
  reactor-demo:
    image: sooabia/reactor-demo:1.0
    restart: always
    ports:
     - '80:8080'
    links:
      - redis

  redis:
    image: redis 
    ports:
      - "6379:6379"
    volumes:
      - /redis:/data/redis
    restart: always 


Code Block
## redis volume을 위한 폴더를 생성합니다.
[root@workspace-vm deploy]# mkdir /redis