Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: "3.4"
- networks:
- servicenet:
- driver: overlay
- ipam:
- config:
- -
- subnet: 10.0.9.0/24
- services:
- redis:
- image: redis:4.0.8-alpine
- networks:
- - servicenet
- ports:
- - target: 6379
- published: 6379
- protocol: tcp
- mode: ingress
- volumes:
- - "~/data/test/redis:/data"
- deploy:
- replicas: 1
Add Comment
Please, Sign In to add comment