-
Notifications
You must be signed in to change notification settings - Fork 11
/
production.yml
45 lines (40 loc) · 951 Bytes
/
production.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
version: '3'
volumes:
production_postgres_data: {}
production_postgres_data_backups: {}
production_traefik: {}
services:
drop:
build:
context: .
dockerfile: ./compose/production/drop/Dockerfile
image: docker.qabel.de/qabel-drop
depends_on:
- postgres
- redis
env_file:
- ./.envs/.production/.drop
- ./.envs/.production/.postgres
command: /start
postgres:
build:
context: .
dockerfile: ./compose/production/postgres/Dockerfile
image: docker.qabel.de/qabel-postgres
volumes:
- production_postgres_data:/var/lib/postgresql/data
- production_postgres_data_backups:/backups
env_file:
- ./.envs/.production/.postgres
nginx:
image: jwilder/nginx-proxy
ports:
- "80:80"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
depends_on:
- drop
ports:
- "0.0.0.0:80:80"
redis:
image: redis:5.0