Added docker (w/o frontend)

This commit is contained in:
saber-nyan
2019-11-18 13:00:13 +03:00
parent ad411c477f
commit 39820daf1a
4 changed files with 57 additions and 0 deletions

25
docker-compose.yml Normal file
View File

@@ -0,0 +1,25 @@
version: "3.4"
services:
packmate:
container_name: packmate-app
build:
context: .
dockerfile: Dockerfile_app
network: host
image: packmate-app:v1
ports:
- "65000:65000"
links:
- db
depends_on:
- db
restart: always
db:
container_name: packmate-db
build:
context: .
dockerfile: Dockerfile_db
image: packmate-db:v1
restart: always