-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (38 loc) 路 797 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
40 lines (38 loc) 路 797 Bytes
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
version: '3.6'
volumes:
letsencrypt:
external: true
services:
redis:
image: redis:6.0.9-alpine
command: ['redis-server', '--appendonly', 'yes']
hostname: redis
ports:
- 6379:6379
volumes:
- ./target/data:/data
logging:
driver: loki
options:
loki-url: 'http://localhost:3100/loki/api/v1/push'
restart: unless-stopped
cibulb:
container_name: cibulb
build: .
ports:
- 8080-8081:8080-8081
env_file:
- .env
environment:
- NODE_ENV=production
volumes:
- type: volume
source: letsencrypt
target: /le-ssl
depends_on:
- redis
logging:
driver: loki
options:
loki-url: 'http://localhost:3100/loki/api/v1/push'
restart: unless-stopped