chore: add docker-based dev env

This commit is contained in:
cătălin 2022-06-28 11:10:50 +02:00
commit 7ca416e43e
No known key found for this signature in database
GPG key ID: C378F1E869F05A95
4 changed files with 23 additions and 9 deletions

View file

@ -4,10 +4,12 @@ services:
app:
build:
context: .
target: run_dev
environment:
- SFU_PORT=80
- SFU_FILES_DIR=./files
volumes:
- "${PWD}/files:${SFU_FILES_DIR},z"
env_file:
- .env
- ./:/opt/sfu
proxy:
image: caddy