Created
July 9, 2018 17:16
-
-
Save cjus/2f622d28d128b1d95a4d34d636ba9e7c to your computer and use it in GitHub Desktop.
Sample test stack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
deploy: | |
replicas: 1 | |
mongo: | |
image: mongo:3.4.3 | |
networks: | |
- servicenet | |
ports: | |
- target: 27017 | |
published: 27017 | |
protocol: tcp | |
mode: ingress | |
deploy: | |
replicas: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment