-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
56 lines (49 loc) · 994 Bytes
/
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
51
52
53
54
55
56
version: '3'
# Reutilizado de https://github.com/mmaximo33/EFDE/tree/main/environments/symfony
#restart: unless-stopped
services:
nginx:
build:
context: ./.docker/nginx
ports:
- 80:80
volumes:
- ./app/:/app:delegated
depends_on:
- app
app:
build:
context: ./.docker/php/7.4/fpm
expose:
- 9000
volumes:
- ./app/:/app:deleated
depends_on:
- db
app_cli:
build:
context: ./.docker/php/7.4/cli
ports:
- 35729:35729
volumes:
- ./app/:/app:delegated
depends_on:
- db
restart: unless-stopped
db:
image: 'mariadb:10.4'
command: --default-authentication-plugin=mysql_native_password
env_file: .docker/.env
ports:
- 3306:3306
volumes:
- .docker/database/data:/var/lib/mysql
phpmyadmin:
image: phpmyadmin/phpmyadmin:latest
env_file: .docker/.env
ports:
- 8080:80
depends_on:
- db
networks:
challenge_bp: