-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
53 lines (49 loc) · 1015 Bytes
/
docker-compose.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
52
53
version: '3.8'
services:
mongo:
image: mongo:8.0.3
restart: always
volumes:
- dbdata:/data/db
api:
depends_on:
- mongo
build:
context: ./packages/api
image: ghcr.io/mikhalev-im/dd-api
restart: always
env_file:
- ./packages/api/.env
environment:
- MONGO_URI=mongodb://mongo:27017/dd
app:
depends_on:
- api
build:
context: ./packages/app
image: ghcr.io/mikhalev-im/dd-app
restart: always
nginx:
depends_on:
- app
- api
image: umputun/nginx-le:latest
restart: always
logging:
driver: json-file
options:
max-size: "10m"
max-file: "5"
volumes:
- ./nginx/ssl:/etc/nginx/ssl
- ./nginx/config/app.conf:/etc/nginx/service.conf
ports:
- "80:80"
- "443:443"
environment:
- TZ=Europe/Moscow
- LETSENCRYPT=true
- LE_FQDN=darlingdove.ru
volumes:
dbdata: