-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcompose.yml
49 lines (49 loc) · 1.28 KB
/
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
name: dev-applied-accel
services:
mongo:
container_name: dev-applied-accel-mongo
restart: always
networks:
my_net:
aliases:
- forecast-mongo
pull_policy: always
ports:
- "27017:27017"
volumes:
- ./mongodb:/data/db
image: mongo:5
command: --wiredTigerCacheSizeGB=0.75
postgres:
container_name: dev-applied-accel-pg
restart: always
networks:
my_net:
aliases:
- forecast-pg
user: 1000:1000
ports:
- 13339:13339
volumes:
- ./postgresql/data:/var/lib/postgresql/data
- ./postgresql/postgresql.conf:/etc/postgresql/postgresql.conf
environment:
- POSTGRES_PASSWORD=Ie98Az0R2jjrNKHeEJFGtbRpxrZLN0xB
image: postgres:13
command: -c port=13339
aspnet:
container_name: dev-applied-accel-web
build:
context: .
dockerfile: Dockerfile
# image: dev-applied-accel-web:latest
ports:
- "8080:8080"
working_dir: /app
restart: always
networks:
- my_net
networks:
my_net:
external: false
name: my_net