-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
54 lines (53 loc) · 1.42 KB
/
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
54
version: '2'
services:
spirepostgresql:
image: library/postgres:9.6
volumes:
- "/opt/cloudfleet/data/spirepostgresql:/var/lib/postgresql/data"
environment:
POSTGRES_USER: spire
DB_USER: spire
DB_NAME: spire
env_file:
- "/opt/cloudfleet/config/spire.env"
spireredis:
image: library/redis
volumes:
- "/opt/cloudfleet/data/spireredis:/data"
command: "redis-server --appendonly yes"
spireworker:
image: cloudfleet/spire
command: "celery -A spire worker -l info"
environment:
DB_USER: spire
DB_NAME: spire
DB_HOST: spirepostgresql
env_file:
- "/opt/cloudfleet/config/spire.env"
spire:
image: cloudfleet/spire
environment:
DB_USER: spire
DB_NAME: spire
DB_HOST: spirepostgresql
env_file:
- "/opt/cloudfleet/config/spire.env"
landing:
image: cloudfleet/landing-page-2
blog:
image: cloudfleet/blog
nginx:
image: bradjonesllc/docker-nginx-letsencrypt
ports:
- "80:80"
- "443:443"
environment:
CERTS: cloudfleet.io,spire.cloudfleet.io
EMAIL: [email protected]
volumes_from:
blog:ro
volumes:
- "/opt/cloudfleet/data/ssl:/etc/nginx/ssl"
- "/opt/cloudfleet/data/ssl/dhparam:/etc/ssl/dhparam"
- "/opt/cloudfleet/data/letsencrypt:/etc/letsencrypt"
- "/opt/cloudfleet/composition/nginx/nginx.conf:/etc/nginx/conf.d/ssl.conf"