added docker-compose file

master
git 2021-03-01 11:12:28 +01:00
parent 51b72a4c48
commit 07d1c7f5c3
2 changed files with 16 additions and 0 deletions

16
docker-compose.yml Normal file
View File

@ -0,0 +1,16 @@
version: "3.7"
services:
wol-api:
build:
context: .
dockerfile: Dockerfile
ports:
- 5051:5000
container_name: wol-api
image: appserver/wol-api
restart: unless-stopped
tty: true
volumes:
- ./:/code/
working_dir: /code/