frostfs-dev-env/services/basenet/docker-compose.yml

28 lines
514 B
YAML
Raw Normal View History

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