-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.development.yml
60 lines (54 loc) · 1.24 KB
/
docker-compose.development.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: "3.8"
services:
nginx:
build:
context: ./nginx
dockerfile: Nginx.Dockerfile
ports:
- 80:80
- 443:443
restart: always
opendesk-client:
build:
context: ./opendesk-client
dockerfile: Client.Dockerfile
args:
- API_URL=https://localhost:443
- ENABLE_DEMO_MODE=true
ports:
- 3000:80
opendesk-api:
depends_on:
- nginx
- postgres
build:
context: ./opendesk-api
dockerfile: ./src/OpenDesk.API/API.Dockerfile
args:
- CONFIGURATION=Debug
expose:
- "80"
restart: "no"
environment:
ConnectionStrings__DB: "host=postgres;port=5432;database=opendesk;username=opendesk;password=opendesk"
ASPNETCORE_ENVIRONMENT: Development
postgres:
build:
context: ./database
dockerfile: ./Db.Dockerfile
restart: always
volumes:
- opendesk_postgres:/var/lib/postgresql/data
environment:
POSTGRES_USER: "opendesk"
POSTGRES_PASSWORD: "opendesk"
POSTGRES_DB: "opendesk"
# Log all queries
# command: ["postgres", "-c", "log_statement=all"]
adminer:
image: adminer:latest
restart: always
ports:
- "8080:8080"
volumes:
opendesk_postgres: