mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
Begin of restructuring ...
- deprecate old release - set virtual version - we need tpot user / group, adding to installer - tweaking - do not use the dev branch, it will break stuff
This commit is contained in:
35
docker/tpotinit/macvlan/docker-compose.yml
Normal file
35
docker/tpotinit/macvlan/docker-compose.yml
Normal file
@ -0,0 +1,35 @@
|
||||
### This is an example on how to use macvlan driver
|
||||
### which results in bridging the container fully
|
||||
### to your network.
|
||||
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
nginx:
|
||||
container_name: nginx
|
||||
restart: always
|
||||
image: nginx
|
||||
networks:
|
||||
mynet:
|
||||
### unassigned ip from your local network
|
||||
ipv4_address: 1.2.3.10
|
||||
|
||||
nginx2:
|
||||
container_name: nginx2
|
||||
restart: always
|
||||
image: nginx
|
||||
networks:
|
||||
mynet:
|
||||
### unassigned ip from your local network
|
||||
ipv4_address: 1.2.3.11
|
||||
|
||||
networks:
|
||||
mynet:
|
||||
driver: macvlan
|
||||
driver_opts:
|
||||
parent: eth0
|
||||
ipam:
|
||||
config:
|
||||
### your local network with netmask and gateway
|
||||
- subnet: 1.2.3.0/24
|
||||
gateway: 1.2.3.1
|
Reference in New Issue
Block a user