-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
58 lines (56 loc) · 1.3 KB
/
docker-compose.yaml
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
52
53
54
55
56
57
58
version: '3'
services:
app:
build:
context: .
dockerfile: ./docker/php/Dockerfile
volumes:
- .:/app:cached
working_dir: /app
env_file:
- .env.local
app80:
build:
context: .
dockerfile: ./docker/php/php80.Dockerfile
volumes:
- .:/app:cached
working_dir: /app
env_file:
- .env.local
app81:
build:
context: .
dockerfile: ./docker/php/php81.Dockerfile
volumes:
- .:/app:cached
working_dir: /app
env_file:
- .env.local
app82:
build:
context: .
dockerfile: ./docker/php/php82.Dockerfile
volumes:
- .:/app:cached
working_dir: /app
env_file:
- .env.local
redis:
image: redis:alpine3.15
restart: always
hostname: redis
volumes:
- ./var/data/redis:/var/lib/redis
expose:
- 6379
rediscommander:
image: rediscommander/redis-commander:latest
environment:
REDIS_HOSTS: local:redis:6379
depends_on:
- redis
links:
- redis
ports:
- 8081:8081