-
Notifications
You must be signed in to change notification settings - Fork 71
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (49 loc) · 1.12 KB
/
docker-compose.yml
File metadata and controls
51 lines (49 loc) · 1.12 KB
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
51
# Experimental docker-compose for local use. Access `web` at localhost:30100.
version: "3.7"
services:
db:
image: postgres:17-alpine
volumes:
- type: bind
source: ./local_data
target: /var/lib/postgresql/data
ports:
- "5432:5432"
env_file:
- .env.postgres.local
redis:
image: redis:6.2
cron:
build:
context: .
args:
env: dev
target: aws
entrypoint: docker-php-entrypoint
command: /var/www/html/deploy/task_entrypoint.sh
volumes:
- .:/var/www/html
env_file:
- .env.local
depends_on:
- db
- redis
web:
build:
context: .
args:
env: dev
target: aws
ports:
- "30100:8080"
volumes:
- .:/var/www/html
env_file:
- .env.local
depends_on:
- db
- redis
adminer:
image: adminer
ports:
- "30101:8080"