-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcompose.yaml.save
79 lines (72 loc) · 1.83 KB
/
compose.yaml.save
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
services:
api:
build:
context: "."
dockerfile: "./API/Dockerfile"
ports:
- "8080:8080"
- "8081:8081"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:8080
- EMAIL_CONFIRMATION_ENDPOINT=http://voltorka/api/auth/confirm-email
- EMAIL_CHANGE_CONFIRMATION_ENDPOINT=http://voltorka/api/auth/confirm-email-change
- HLS_BASE_URL=https://voltorka/api
depends_on:
- database
- minio
- redis
extra_hosts:
- "host.docker.internal:host-gateway"
subscription-service:
build:
context: "./SubscriptionService/subscription-service"
dockerfile: "./Dockerfile"
ports:
- "3000:3000"
depends_on:
- database
environment:
- JWT_KEY=000011112222333344445555666677778888
database:
image: postgres
ports:
- "5433:5432"
environment:
- POSTGRES_PASSWORD=admin
volumes:
- ~/postgres/Netflix:/var/lib/postgresql/data
minio:
image: quay.io/minio/minio
command: server --console-address ":9001" /data
volumes:
- '~/minio/data:/data'
ports:
- "9000:9000"
- "9001:9001"
environment:
- MINIO_ROOT_USER=root
- MINIO_ROOT_PASSWORD=aboba228
proxy:
build:
context: "./Frontend"
dockerfile: "./Dockerfile"
volumes:
- ./Nginx/nginx.conf:/etc/nginx/nginx.conf
- ./Nginx/voltorka-key.txt:/root/app/Nginx/voltorka-key.txt
- ./Nginx/voltorka-bundle.txt:/root/app/Nginx/voltorka-bundle.txt
ports:
- "80:80"
- "443:443"
depends_on:
- api
- subscription-service<<<<<<< HEAD
=======
redis:
image: redis
ports:
- "6379:6379"
volumes:
- ~/redis/data:/data
command: redis-server
>>>>>>> 2a8fe4c4622c20cad34b73b03d50cbf233af55f1