docker: Use a .env file

This commit is contained in:
noirscape
2020-04-06 21:43:12 +02:00
parent 4e961192d4
commit d2da8d0b9a
4 changed files with 18 additions and 8 deletions

15
docker-compose.yml Normal file
View File

@@ -0,0 +1,15 @@
version: '3'
services:
mango:
container_name: mango
build:
context: .
dockerfile: ./Dockerfile
expose:
- ${PORT}
ports:
- "${PORT}:9000"
volumes:
- ${MAIN_DIRECTORY_PATH}:/root/mango
- ${CONFIG_DIRECTORY_PATH}:/root/.config/mango