docker: compose support

This commit is contained in:
Daniel Ding
2023-04-04 07:02:05 +08:00
parent d8a6cdb855
commit eec45c75fa
15 changed files with 94 additions and 48 deletions

16
docker/docker-compose.yml Normal file
View 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