-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
60 lines (57 loc) · 1.16 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: living
services:
living_webapp:
container_name: living_webapp
image: living_webapp
build:
context: ./Living.WebAPP
dockerfile: Dockerfile
restart: always
depends_on:
- living_webapi
ports:
- 6010:3000
networks:
- living.network
deploy:
resources:
limits:
memory: 1G
living_webapi:
container_name: living_webapi
image: living_webapi
build:
context: .
dockerfile: ./Living.WebAPI/Dockerfile
restart: always
depends_on:
- living_postgres
ports:
- 6015:6015
environment:
- TZ=America/Sao_Paulo
- ASPNETCORE_URLS=http://+:6015
- ASPNETCORE_ENVIRONMENT=Production
networks:
- living.network
deploy:
resources:
limits:
memory: 1G
living_postgres:
container_name: living_postgres
image: postgres:16.3
restart: always
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=living
networks:
- living.network
deploy:
resources:
limits:
memory: 1G
networks:
living.network:
driver: bridge