21 lines
367 B
YAML
21 lines
367 B
YAML
|
networks:
|
||
|
netvm:
|
||
|
external: true
|
||
|
name: netvm
|
||
|
|
||
|
services:
|
||
|
socat-server:
|
||
|
image: socat-custom
|
||
|
build: ./sc
|
||
|
container_name: socat-server
|
||
|
privileged: true
|
||
|
networks:
|
||
|
netvm:
|
||
|
ipv4_address: 192.168.12.3
|
||
|
ports:
|
||
|
- 8006:8006
|
||
|
- 2222:2222
|
||
|
volumes:
|
||
|
- "./data/socat.sh:/root/socat.sh"
|
||
|
restart: unless-stopped
|