-
-
Notifications
You must be signed in to change notification settings - Fork 67
/
docker-compose.yml
50 lines (47 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
48
49
50
# Experimental docker-compose for local use. Access `web` at localhost:30100.
version: "3.7"
volumes:
local_data: {}
services:
db:
image: postgres:12.8-alpine
volumes:
- ./local_data:/var/lib/postgresql/
ports:
- "5432:5432"
env_file:
- .env.postgres.local
redis:
image: redis:6.2
cron:
build:
context: .
args:
env: dev
entrypoint: docker-php-entrypoint
command: /var/www/html/run-cron.sh
volumes:
- .:/var/www/html
env_file:
- .env.local
depends_on:
- db
- redis
web:
build:
context: .
args:
env: dev
ports:
- "30100:80"
volumes:
- .:/var/www/html
env_file:
- .env.local
depends_on:
- db
- redis
adminer:
image: adminer
ports:
- "30101:8080"