-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (46 loc) · 1.17 KB
/
docker-compose.yml
File metadata and controls
50 lines (46 loc) · 1.17 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
########################### NETWORKS
networks:
backend:
driver: bridge
socket_proxy:
name: socket_proxy
driver: bridge
ipam:
config:
- subnet: 192.168.92.0/24
services:
api:
container_name: temply-api
hostname: temply-api
build:
context: .
target: development
dockerfile: Dockerfile
command: npm run start:debug
networks:
- backend
ports:
- '${APPLICATION_PORT:-4200}:${APPLICATION_PORT:-4200}'
- '9229:9229'
env_file:
- .env
dns:
- 8.8.8.8
- 1.1.1.1
volumes:
- .:/usr/src/app
- /usr/src/app/node_modules
- /usr/src/app/dist
restart: unless-stopped
include:
# CORE
- $DOCKERDIR/compose/socket-proxy.yml
# DATABASES
- $DOCKERDIR/compose/postgres.yml
- $DOCKERDIR/compose/redis.yml
- $DOCKERDIR/compose/minio.yml
# Monitoring
- $DOCKERDIR/compose/loki.yml
- $DOCKERDIR/compose/grafana.yml
- $DOCKERDIR/compose/prometheus.yml
- $DOCKERDIR/compose/alloy.yml