-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
46 lines (44 loc) · 1.06 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
# This is the master compose file that includes all the other ones.
version: "3"
volumes:
pgdata:
services:
nginx:
restart: always
image: nginx:1.15-alpine
volumes:
- static_me:/app/me/staticfiles
- static_spotifly:/app/spotifly/staticfiles
- ./config/etc/letsencrypt:/etc/letsencrypt
- ./nginx:/etc/nginx/conf.d # this is how we use custom nginx build
ports:
- "80:80"
- "443:443"
depends_on:
- me
- spotifly
postgres:
restart: always
image: postgres:12.0-alpine
volumes:
- pgdata:/var/lib/postgresql/data
ports:
- 5432:5432
env_file:
- .env
letsencrypt:
image: linuxserver/letsencrypt
container_name: letsencrypt
environment:
- PUID=1000
- PGID=1000
- TZ=America/Chicago
- URL=thatcherthornberry.com
- SUBDOMAINS=auxocracy,
- VALIDATION=dns
- DNSPLUGIN=google
- EMAIL=thatcherthornberry@gmail.com
- DHLEVEL=4096
volumes:
- /home/thatcherthornberry/config:/config
restart: unless-stopped