-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
63 lines (63 loc) · 1.36 KB
/
docker-compose.yml
File metadata and controls
63 lines (63 loc) · 1.36 KB
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
61
62
63
version: '3.9'
services:
database:
container_name: database
image: postgres
restart: always
deploy:
resources:
limits:
cpus: '0.50'
memory: 512M
reservations:
cpus: '0.25'
memory: 128M
logging:
options:
max-size: 10m
max-file: "3"
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=strip_example
ports:
- '5432:5432'
volumes:
- pg_data:/var/lib/postgresql/data
app:
container_name: app
image: msadeqsirjani/navisite-app:latest
restart: always
deploy:
resources:
limits:
cpus: '0.50'
memory: 512M
reservations:
cpus: '0.25'
memory: 128M
ports:
- 5240:5240
- 5241:5241
environment:
- ASPNETCORE_HTTP_PORT=https://+:5241
- ASPNETCORE_URLS=http://+:5240
reverse-proxy:
container_name: reverse-proxy
image: msadeqsirjani/navisite-reverse-proxy:latest
restart: always
deploy:
resources:
limits:
cpus: '0.50'
memory: 512M
reservations:
cpus: '0.25'
memory: 128M
ports:
- 81:80
depends_on:
- app
volumes:
pg_data:
driver: local