-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (43 loc) · 920 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
48 lines (43 loc) · 920 Bytes
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
version: "3.8"
volumes:
database: {}
meilisearch_data: {}
services:
database:
image: postgres:15.2-alpine
environment:
POSTGRES_DB: edgar
POSTGRES_PASSWORD: edgar
POSTGRES_USER: edgar
ports:
- '5432:5432'
volumes:
- 'database:/var/lib/postgresql@15/data:rw'
php:
build:
context: ./docker/php
ports:
- '9000:9000'
volumes:
- ./:/var/www/edgar
- ./docker/php/php.ini:/usr/local/etc/php/php.ini
depends_on:
- database
nginx:
image: nginx:stable-alpine
ports:
- '8000:80'
volumes:
- ./:/var/www/edgar
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf
depends_on:
- php
- database
meilisearch:
image: getmeili/meilisearch:v1.1
ports:
- '7700:7700'
environment:
MEILI_MASTER_KEY: edgar
volumes:
- meilisearch_data:/meili_data