-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy pathdocker-compose.yml
47 lines (44 loc) · 1.03 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
version: '3.4'
services:
postgres:
container_name: datmusic-postgres
image: postgres:13-alpine
volumes:
- postgres-data:/var/lib/postgresql/data
ports:
- "127.0.0.1:${DB_PORT_POSTGRES}:5432"
environment:
POSTGRES_DB: "${DB_DATABASE_POSTGRES}"
POSTGRES_USER: "${DB_USERNAME_POSTGRES}"
POSTGRES_PASSWORD: "${DB_PASSWORD_POSTGRES}"
networks:
default:
ipv4_address: 172.27.0.3
minerva-meilisearch:
image: getmeili/meilisearch:v0.21.0rc2
container_name: minerva-meilisearch
restart: always
volumes:
- meilisearch-data:/data.ms
environment:
MEILI_MASTER_KEY: "${MINERVA_MEILISEARCH_KEY}"
ports:
- "127.0.0.1:7700:7700"
networks:
default:
ipv4_address: 172.27.0.2
networks:
default:
driver: bridge
ipam:
config:
- subnet: 172.27.0.0/24
volumes:
postgres-data:
driver: local
meilisearch-data:
driver: local
driver_opts:
device: /opt/datmusic/meilisearch
type: none
o: bind