-
-
Notifications
You must be signed in to change notification settings - Fork 116
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (30 loc) · 783 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
32 lines (30 loc) · 783 Bytes
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
version: '3'
services:
app:
build:
context: .
dockerfile: ./docker/app/Dockerfile
image: app
container_name: gamma_app
depends_on:
- datastore
volumes:
- ./app/:/usr/src/app/app/
ports:
- "8080:8080"
- "8082:8082"
- "8083:8083"
environment:
- DATASTORE_EMULATOR_HOST=datastore:8081
- DATASTORE_USE_PROJECT_ID_AS_APP_ID=true
- PROJECT_ID=sympy-gamma-hrd
- GAE_VERSION=development
command: python manage.py runserver 0.0.0.0:8080
datastore:
image: google/cloud-sdk:latest
container_name: gamma_datastore
ports:
- "8081:8081"
environment:
- CLOUDSDK_CORE_PROJECT=sympy-live-hrd
command: gcloud beta emulators datastore start --host-port=0.0.0.0:8081