-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
43 lines (40 loc) · 943 Bytes
/
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
version: '3'
services:
postgis:
image: postgis/postgis
container_name: postgis-container
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: 12345678
POSTGRES_DB: parse-starterapp-db
ports:
- "5432:5432"
volumes:
- postgis-data:/var/lib/postgresql/data
jeudi-api:
build:
context: .
dockerfile: Dockerfile
container_name: parse-starter-container
volumes:
- ./dist:/app/dist
environment:
- PORT=8080
- APP_ID=defaultAppId
- MASTER_KEY=12345678
- DATABASE_URI=postgres://postgres:12345678@postgis:5432/parse-starterapp-db?ssl=false
- SERVER_NAME=Jeudi Server
- DASHBOARD_HTTPS=false
- REDIS_URL=redis://redis:6379
ports:
- "8080:8080"
depends_on:
- postgis
- redis
redis:
image: redis
container_name: redis-container
ports:
- "6379:6379"
volumes:
postgis-data: