Add App into docker

This commit is contained in:
2019-10-13 16:24:13 +02:00
parent f76f6f83bb
commit e73a7b5a18
6 changed files with 47 additions and 13 deletions

View File

@@ -3,6 +3,20 @@
version: '3.7'
services:
app:
container_name: app_${NAME}
build:
context: ./build
dockerfile: ../docker/app/Dockerfile
restart: always
ports:
- ${APP_PORT}:8080
environment:
DB_HOST: db
depends_on:
- elasticsearch
- db
elasticsearch:
container_name: elasticsearch_${NAME}
image: elasticsearch:6.7.1