-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
59 lines (58 loc) · 1.39 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
55
56
57
58
59
version: "3.5"
services:
web:
# You can build your own image from the source running:
# $ make rel-build
# $ make rel-tag-latest
image: "dyne/reflow:latest"
container_name: "bonfire_web"
restart: always
ports:
- "4000:4000" # you may want to comment this in production
env_file:
- config/prod/public.env
- config/prod/secrets.env
environment:
- POSTGRES_HOST=db
- SEARCH_MEILI_INSTANCE=http://search:7700
depends_on:
- db
volumes:
- type: bind
source: ./data/uploads
target: /opt/app/data/uploads
proxy:
image: "caddy:alpine"
restart: always
ports:
- "80:80"
- "443:443"
env_file:
- config/prod/public.env
volumes:
- type: bind
source: ./config/deploy/Caddyfile2
target: /etc/caddy/Caddyfile
read_only: true
- type: bind
source: ./data/uploads
target: /frontend/uploads
db:
image: postgis/postgis:12-3.0-alpine
restart: always
volumes:
- "./data/postgres/prod:/var/lib/postgresql/data"
# ports:
# - "5432:5432"
env_file:
- config/prod/public.env
- config/prod/secrets.env
search:
image: getmeili/meilisearch:latest
# ports:
# - "7700:7700"
volumes:
- "./data/search/prod:/data.ms"
env_file:
- config/prod/public.env
- config/prod/secrets.env