-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
63 lines (58 loc) · 1.52 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
61
62
63
services:
jobhunter.worker:
image: jobhunter.worker
build:
context: .
dockerfile: JobHunter.Worker/Dockerfile
depends_on:
- playwright
environment:
- ASPNETCORE_ENVIRONMENT=Production
- ConnectionStrings__JobHunter=${DB_CONNECTION_STRING}
- OpenAiConfigurations__APIKey=${OPENAI_CONFIGURATION_API_KEY}
- LinkedinConfiguration__Username=${LINKEDIN_USERNAME}
- LinkedinConfiguration__Password=${LINKEDIN_PASSWORD}
networks:
- microservices_net
jobhunter.web-app:
image: jobhunter.web-app
build:
context: .
dockerfile: JobHunter.WebApp/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Production
- ConnectionStrings__JobHunter=${DB_CONNECTION_STRING}
networks:
- microservices_net
playwright:
image: jacoblincool/playwright:chromium-server-1.46.0
ports:
- 53333:53333
networks:
- microservices_net
redis:
image: redis:latest
volumes:
- redis_data:/data
networks:
- microservices_net
postgresql:
container_name: postgresql
image: 'postgres:13.4'
environment:
POSTGRES_USER: "${DB_USERNAME:-jobhunter}"
POSTGRES_PASSWORD: "${DB_PASSWORD:-NlLYoS6i8120}"
volumes:
- db_data:/var/lib/postgresql/data
restart: unless-stopped
networks:
microservices_net:
aliases:
- postgresql
networks:
microservices_net:
driver: bridge
name: microservices_net
volumes:
redis_data:
db_data: