-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdocker-compose_ezp54.yml
72 lines (65 loc) · 1.36 KB
/
docker-compose_ezp54.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
# Default container setup
# Simple single server setup
# Uses Debian Jessie and official images when possible
dbvol:
image: debian:jessie
volumes:
- ./volumes/mysql:/var/lib/mysql
ezpublishvol:
image: debian:jessie
volumes:
- ./volumes/ezpublish:/var/www
db1:
image: mariadb:latest
volumes_from:
- dbvol
volumes:
- ./resources/database_character_set.sh:/docker-entrypoint-initdb.d/database_character_set.sh
environment:
- MYSQL_ROOT_PASSWORD=mysecretrootpassword
- MYSQL_USER=ezp
- MYSQL_PASSWORD
- MYSQL_DATABASE=ezp
- TERM=dumb
phpfpm1:
# docker compose does not allow to specify container name, this is what it generates, might be fixed in 1.3
image: ezsystems/ezphp
links:
- db1:db
# - solr1:solr
volumes_from:
- ezpublishvol
environment:
- EZ_KICKSTART
- EZ_KICKSTART_FROM_TEMPLATE
- EZ_ENVIRONMENT
- EZ_MAILER_TRANSPORT
- EZ_MAILER_HOST
- EZ_MAILER_USER
- EZ_MAILER_PASSWORD
- SYMFONY_ENV
- MYSQL_PASSWORD
web1:
image: ezsystems/web
links:
- phpfpm1:php_fpm
volumes_from:
- ezpublishvol
ports:
- "8080:80"
environment:
- EZ_ENVIRONMENT
- VARNISH_ENABLED
- DOCKER0NET
#
#varnish:
# build: dockerfiles/internal/varnish
# links:
# - phpfpm:php_fpm
# - nginx:nginx
# volumes_from:
# - ezpublishvol
# ports:
# - "8081:80"
# environment:
# - VARNISH_ENABLED