forked from bonfire-networks/bonfire-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (44 loc) · 979 Bytes
/
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
# A Dockerfile for development/testing
version: "3.5"
services:
web:
build:
context: .
dockerfile: "Dockerfile.dev"
ports:
- "4003:4000"
environment:
- DATABASE_HOST=db
env_file:
- config/.env.secrets
depends_on:
- db
# - search
volumes:
- type: bind
source: .
target: /opt/app
- /etc/passwd:/etc/passwd:ro
stdin_open: true # like docker run -i
tty: true # like docker run -t
user: $UID:$GID
db:
image: postgis/postgis:12-3.0-alpine
volumes:
- ./data/postgres/dev:/var/lib/postgresql/data:z
- /etc/passwd:/etc/passwd:ro
# ports:
# - "5432:5432"
env_file:
- config/.env.secrets
user: $UID:$GID
search:
image: getmeili/meilisearch:latest
ports:
- "7703:7700"
volumes:
- "./data/search/dev:/data.ms"
- /etc/passwd:/etc/passwd:ro
env_file:
- config/.env.secrets
user: $UID:$GID