added docker-compose to brouter docker directory

This commit is contained in:
Ben Varick 2024-11-05 07:53:23 -06:00
parent 104f215a0e
commit 378c991c6d
No known key found for this signature in database

View File

@ -0,0 +1,26 @@
---
services:
brouter:
container_name: brouter
ports:
- 17777:17777
volumes:
- ./brouter/misc/segments4:/segments4
image: brouter
build:
context: ./brouter
dockerfile: Dockerfile
---
services:
brouter-web:
container_name: brouter-web
ports:
- 127.0.0.1:8080:80
volumes:
- ./brouter-web/config.js:/usr/share/nginx/html/config.js
- ./brouter-web/keys.js:/usr/share/nginx/html/keys.js
- ./brouter-web/profiles:/usr/share/nginx/html/profiles
image: brouter-web
build:
context: ./brouter-web
dockerfile: Dockerfile