Versions Compared

Key

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

...

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

services:
  spring-demo:
	container-name: spring-demo
    image: sooabia/spring-demo:1.0
    restart: always
    ports:
     - '80:8080'
    links:
      - redis
  redis:
    container_name: redis
    image: redis 
    ports:
      - "6379:6379"
    volumes:
      - ./redis:/data/redis
    restart: always 

...