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