-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (49 loc) · 1.08 KB
/
docker-compose.yml
File metadata and controls
51 lines (49 loc) · 1.08 KB
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
services:
meet-database:
image: postgres:15
security_opt:
- no-new-privileges:true
container_name: meet-database
restart: always
volumes:
- ./infrastructure/database-init-scripts:/docker-entrypoint-initdb.d
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: example
POSTGRES_DB: xMeet
PGPORT: 5434
networks:
- internxt
ports:
- 5434:5434
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U postgres']
interval: 5s
retries: 10
timeout: 5s
meet-server:
security_opt:
- no-new-privileges:true
container_name: meet-server
build:
context: .
dockerfile: development.Dockerfile
volumes:
- .:/usr/app
- .env.development:/usr/app/.env.development
- /usr/app/node_modules
ports:
- 3006:3006
networks:
- internxt
environment:
NODE_ENV: development
env_file:
- .env.development
depends_on:
meet-database:
condition: service_healthy
networks:
internxt:
name: internxt
external: true