22 lines
418 B
YAML
22 lines
418 B
YAML
|
|
services:
|
||
|
|
bastion:
|
||
|
|
build:
|
||
|
|
context: ..
|
||
|
|
dockerfile: stack/Dockerfile
|
||
|
|
network_mode: host
|
||
|
|
restart: unless-stopped
|
||
|
|
env_file: .env
|
||
|
|
volumes:
|
||
|
|
- bastion-state:/data/state
|
||
|
|
- bastion-tftp:/data/tftp
|
||
|
|
- bastion-http:/data/http
|
||
|
|
- ${SSH_KEY_PATH:-~/.ssh}:/root/.ssh:ro
|
||
|
|
cap_add:
|
||
|
|
- NET_ADMIN
|
||
|
|
- NET_RAW
|
||
|
|
|
||
|
|
volumes:
|
||
|
|
bastion-state:
|
||
|
|
bastion-tftp:
|
||
|
|
bastion-http:
|