-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathdocker-compose.yml
43 lines (43 loc) · 1.01 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
version: "3"
services:
reverse-proxy:
image: nginx
ports:
- "80:80"
depends_on:
- api
- lhserver
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
api:
build: "."
ports:
- "7070:7070"
depends_on:
postgres:
condition: service_started
meilisearch:
condition: service_started
env_file:
- /home/ubuntu/app-env/api.env
volumes:
- /home/ubuntu/app-data/api/fetch_cache:/usr/src/repo/api/fetch_cache
- /home/ubuntu/app-data/api/sqlite_db:/usr/src/repo/api/sqlite_db
postgres:
image: postgres
ports:
- "5432:5432"
volumes:
- /home/ubuntu/app-data/api/postgres_db:/var/lib/postgresql/data
environment:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_DB: db
meilisearch:
image: getmeili/meilisearch:v1.11.3
ports:
- "7700:7700"
volumes:
- /home/ubuntu/app-data/api/meilisearch_db:/meili_data
environment:
MEILI_NO_ANALYTICS: true
MEILI_MASTER_KEY: "default"