| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- services:
- gateway:
- build:
- context: .
- dockerfile: gateway/Dockerfile
- container_name: sshproxy-gateway
- hostname: gateway
- ports:
- - "2222:22"
- networks:
- sshproxy_net:
- ipv4_address: 172.30.0.10
- restart: unless-stopped
- dest1:
- build:
- context: .
- dockerfile: dest/Dockerfile
- container_name: sshproxy-dest1
- hostname: dest1
- networks:
- sshproxy_net:
- ipv4_address: 172.30.0.11
- restart: unless-stopped
- dest2:
- build:
- context: .
- dockerfile: dest/Dockerfile
- container_name: sshproxy-dest2
- hostname: dest2
- networks:
- sshproxy_net:
- ipv4_address: 172.30.0.12
- restart: unless-stopped
- networks:
- sshproxy_net:
- name: sshproxy_net
- driver: bridge
- ipam:
- config:
- - subnet: 172.30.0.0/24
|