version: '2.3' services: hatbot: build: ./hatbot restart: always hostname: hatbot container_name: hatbot entrypoint: - /bin/bash - entrypoint.sh volumes: - ./hatbot:/hatbot networks: mynet: ipv4_address: 172.56.0.101 networks: mynet: # enable_ipv6: false driver: bridge ipam: config: - subnet: 172.56.0.0/24