forked from TrueCloudLab/frostfs-dev-env
Evgenii Stratonikov
47b4917e7b
There were multiple warning like this one. ``` WARN[0000] /secret/services/rest_gate/docker-compose.yml: `version` is obsolete ``` According to docker-compose spec, the parameter is indeed purely informative: https://github.com/compose-spec/compose-spec/blob/master/spec.md#version-and-name-top-level-elements Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
27 lines
559 B
YAML
27 lines
559 B
YAML
---
|
|
|
|
services:
|
|
|
|
basenet:
|
|
container_name: bastion
|
|
image: ${BASTION_IMAGE}:${BASTION_VERSION}
|
|
domainname: ${LOCAL_DOMAIN}
|
|
hostname: bastion
|
|
command: ["/bin/sleep", "infinity"]
|
|
restart: always
|
|
stop_signal: SIGKILL
|
|
env_file: [ ".int_test.env" ]
|
|
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
|