-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
45 lines (43 loc) · 1.04 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
version: "3.1"
services:
web:
build:
context: .
dockerfile: Dockerfile
args:
- BASE_TAG=${BASE_TAG:-alpine}
- BUILD_COMMIT=${BUILD_COMMIT:-unknown}
image: gcr.io/dd-decaf-cfbf6/id-mapper:${BUILD_TAG:-latest}
networks:
default:
DD-DeCaF:
aliases:
- id-mapper
ports:
- "${API_PORT:-8000}:8000"
depends_on:
- db
volumes:
- ".:/app"
environment:
- ENVIRONMENT=${ENVIRONMENT:-development}
- FLASK_APP=src/id_mapper/wsgi.py
- SCRIPT_NAME=${SCRIPT_NAME}
- ALLOWED_ORIGINS=${ALLOWED_ORIGINS:-http://localhost:4200}
- SENTRY_DSN=${SENTRY_DSN}
- ID_MAPPER_API=${ID_MAPPER_API:-http://db}
- ID_MAPPER_PORT=${ID_MAPPER_PORT:-7474}
- ID_MAPPER_PASSWORD=${ID_MAPPER_PASSWORD:-1}
- ID_MAPPER_USER=${ID_MAPPER_USER:-neo4j}
db:
image: neo4j:3.1
networks:
- default
ports:
- 7474:7474
- 7687:7687
environment:
- NEO4J_AUTH=neo4j/1
networks:
DD-DeCaF:
external: true