-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
40 lines (37 loc) · 994 Bytes
/
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
services:
app:
build:
context: ./
target: app-prod
dockerfile: docker/Dockerfile
restart: unless-stopped
depends_on:
- database
- meilisearch
environment:
SERVER_NAME: ${SERVER_NAME:-localhost}
extra_hosts:
- host.containers.internal:host-gateway
ports:
- target: 80
published: ${HTTP_PORT:-80}
protocol: tcp
database:
image: postgis/postgis:16-3.4-alpine
environment:
POSTGRES_DB: ${POSTGRES_DB:-app}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}
POSTGRES_USER: ${POSTGRES_USER:-app}
volumes:
- database_data:/var/lib/postgresql/data:rw
meilisearch:
image: getmeili/meilisearch:v1.10
restart: unless-stopped
environment:
MEILI_NO_ANALYTICS: 'true'
MEILI_MASTER_KEY: ${MEILI_MASTER_KEY:-cWwx3jxAworhaQAVHeRYlK37wdVnLNc6P_Uyz8WLTyM}
volumes:
- meilisearch_data:/meili_data:rw
volumes:
database_data:
meilisearch_data: