2020-07-10 15:14:30 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
version: "2.4"
|
|
|
|
services:
|
|
|
|
|
|
|
|
basenet:
|
|
|
|
container_name: bastion
|
2022-06-07 07:11:57 +00:00
|
|
|
image: ${BASTION_IMAGE}:${BASTION_VERSION}
|
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
|
2022-04-07 12:33:53 +00:00
|
|
|
env_file: [ ".int_test.env" ]
|
2020-07-10 15:14:30 +00:00
|
|
|
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
|
2020-09-24 09:34:19 +00:00
|
|
|
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
|