fixed docker issues (#16)

Fixing Docker issues
This commit is contained in:
anbucher
2021-03-18 14:21:36 +01:00
committed by GitHub
parent 0048e72f46
commit 7541484d1f
7 changed files with 57 additions and 27 deletions

17
docker-compose.yml Normal file
View File

@@ -0,0 +1,17 @@
version: '3.3'
services:
fredy:
container_name: fredy
# build from empty build folder to reduce size of image
build:
context: ./build
dockerfile: Dockerfile
args:
repo: https://github.com/anbucher/fredy.git
image: fredy/fredy
# map existing config and database
volumes:
- ./conf:/conf
- ./db:/db
ports:
- 9998:9998