forked from Kalpesh-18/gdmn-nxt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.run.yml
51 lines (47 loc) · 1.07 KB
/
docker-compose.run.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
version: '3.8'
services:
redis:
image: redis
container_name: session-store
restart: always
ports:
- "6379:6379"
networks:
- proxy_network
client:
image: ghcr.io/hirurg-lybitel/gdmn-crm-client:latest
container_name: crm_client
ports:
- ${NX_APP_PORT}:80
volumes:
- type: bind
source: ssl
target: /etc/nginx/ssl
read_only: true
networks:
- proxy_network
server:
image: ghcr.io/hirurg-lybitel/gdmn-crm-server:latest
depends_on:
redis:
condition: service_started
container_name: crm_server
ports:
- "${NX_SERVER_PORT}:${NX_SERVER_PORT}"
- "${NX_SOCKET_NOTIFICATIONS_PORT}:${NX_SOCKET_NOTIFICATIONS_PORT}"
- "${NX_SOCKET_STREAMING_UPDATE_PORT}:${NX_SOCKET_STREAMING_UPDATE_PORT}"
volumes:
- type: bind
source: ssl
target: /ssl
read_only: true
env_file:
- ./.env
- ./.env.prod
environment:
- TZ=Europe/Minsk
networks:
- proxy_network
networks:
proxy_network:
external: true