-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
62 lines (56 loc) · 1.28 KB
/
docker-compose.yaml
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
54
55
56
57
58
59
60
61
62
version: '3'
services:
nginx-proxy:
image: nginxproxy/nginx-proxy:alpine
ports:
- "80:80"
- "443:443"
volumes:
- conf:/etc/nginx/conf.d
- vhost:/etc/nginx/vhost.d
- dhparam:/etc/nginx/dhparam
- certs:/etc/nginx/certs:ro
- /var/run/docker.sock:/tmp/docker.sock:ro
- /usr/share/nginx/html
restart: always
letsencrypt:
image: nginxproxy/acme-companion
volumes_from:
- nginx-proxy
volumes:
- certs:/etc/nginx/certs:rw
- acme:/etc/acme.sh:rw
- /var/run/docker.sock:/var/run/docker.sock:ro
restart: always
environment:
redis:
image: redis
restart: always
expose:
- "6379"
filter-feed:
image: ghcr.io/cartermckinnon/filter-feed:latest
command: filter-feed server --redis-address=redis:6379
depends_on:
- redis
expose:
- "8080"
environment:
- VIRTUAL_HOST=api.filter-feed.me
- VIRTUAL_PORT=8080
- LETSENCRYPT_HOST=api.filter-feed.me
ui:
image: ghcr.io/cartermckinnon/filter-feed/ui:latest
expose:
- "80"
environment:
- VIRTUAL_HOST=filter-feed.me
- VIRTUAL_PORT=80
- LETSENCRYPT_HOST=filter-feed.me
volumes:
conf:
vhost:
dhparam:
certs:
acme: