Files
docker-compose-hatthieves/development/sockethub/docker-compose.yml
Your Name b31754982d sockethub
2020-05-28 10:36:19 +00:00

39 líneas
697 B
YAML

version: '2'
services:
sockethub:
build: ./sockethub
restart: always
hostname: sockethub
container_name: sockethub
entrypoint:
- bin/sockethub
- --examples
volumes:
- ./sockethub/config.json:/sockethub/config.json:ro
ports:
- 10550:10550/tcp
networks:
mynet:
ipv4_address: 172.130.0.101
redis:
image: redis:alpine
hostname: redis-sockethub
container_name: redis-sockethub
restart: always
volumes:
- ./redis:/data
expose:
- 6379
networks:
mynet:
ipv4_address: 172.130.0.102
networks:
mynet:
driver: bridge
ipam:
config:
- subnet: 172.130.0.0/24