-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
74 lines (68 loc) · 1.34 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
version: '3.4'
services:
php:
build:
context: docker/php
dockerfile: Dockerfile
cache_from:
- php:7.3-fpm
env_file:
- .env
depends_on:
- database
- blackfire
volumes:
- ./:/var/www/bolt
working_dir: /var/www/bolt
database:
image: mariadb:10
env_file:
- .env
ports:
- 3306
environment:
MYSQL_ROOT_PASSWORD: ${DATABASE_PASSWORD}
MYSQL_PASSWORD: ${DATABASE_PASSWORD}
MYSQL_USER: ${DATABASE_USER}
MYSQL_DATABASE: ${DATABASE_NAME}
MYSQL_INITDB_SKIP_TZINFO: 0
web:
image: nginx:alpine
ports:
- 8088:80
depends_on:
- php
volumes:
- ./docker/nginx:/etc/nginx/conf.d
- ./:/var/www/bolt
- ./var/log:/var/log/nginx
entrypoint:
- sh
- /etc/nginx/conf.d/entrypoint.sh
node:
image: node:16.13.0
volumes:
- ./:/home/node/app
working_dir: /home/node/app
user: node
command:
- ./node_modules/.bin/encore
- dev
- --watch
padm:
image: phpmyadmin/phpmyadmin
ports:
- 8099:80
links:
- database:db
blackfire:
image: blackfire/blackfire
env_file:
- .env
ports:
- 8707 # for blackfire probe
# maildev:
# image: djfarrelly/maildev
# container_name: sf4_maildev
# ports:
# - 8089:80