-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (38 loc) · 822 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (38 loc) · 822 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"
services:
nginx:
image: umputun/nginx-le:latest
restart: unless-stopped
logging:
driver: json-file
options:
max-size: "10m"
max-file: "5"
volumes:
- ./data/etc/ssl:/etc/nginx/ssl
- ./nginx-service.conf:/etc/nginx/service.conf
ports:
# primary host interface only
- "10.0.0.75:80:80"
- "10.0.0.75:443:443"
environment:
- TZ=Europe/Amsterdam
- LETSENCRYPT=true
- LE_EMAIL=alexander.shchapov@gmail.com
- LE_FQDN=highlighter.darednaxella.name
redis:
restart: unless-stopped
image: redis:alpine
expose:
- 6379
volumes:
- ./data:/data
app:
restart: unless-stopped
build: .
environment:
- PRODUCTION=1
expose:
- 8000
depends_on:
- redis