mirror of
https://github.com/luscis/openlan.git
synced 2025-12-24 11:10:54 +08:00
docker: compose support
This commit is contained in:
16
docker/docker-compose.yml
Normal file
16
docker/docker-compose.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
version: "2.3"
|
||||
services:
|
||||
confd:
|
||||
image: "openlan-confd:latest"
|
||||
volumes:
|
||||
- /opt/openlan/confd:/var/openlan/confd
|
||||
switch:
|
||||
image: "openlan-switch:latest"
|
||||
privileged: true
|
||||
ports:
|
||||
- 10000:10000
|
||||
- 10002:10002
|
||||
volumes:
|
||||
- /opt/openlan/confd:/var/openlan/confd
|
||||
depends_on:
|
||||
- confd
|
||||
Reference in New Issue
Block a user