frostfs-dev-env/services/basenet/docker-compose.yml
Stanislav Bogatyrev 7d8fbc7754 Use common /etc/hosts
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-09-24 12:34:33 +03:00

27 lines
514 B
YAML

---
version: "2.4"
services:
basenet:
container_name: bastion
image: debian:10
domainname: ${LOCAL_DOMAIN}
hostname: bastion
command: ["/bin/sleep", "infinity"]
restart: always
stop_signal: SIGKILL
environment:
- TZ=Etc/UTC
networks:
internet:
ipv4_address: ${IPV4_PREFIX}.10
volumes:
- ./../../vendor/hosts:/etc/hosts
networks:
internet:
driver: bridge
ipam:
driver: default
config:
- subnet: ${IPV4_PREFIX}.0/24