-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env-example
42 lines (27 loc) · 1017 Bytes
/
.env-example
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
##########################
# APP_CODE CONTAINER #
##########################
APP_CODE_VOLUME_MAP=/var/www
#############################
# HTTP SERVER CONTAINER #
#############################
HTTP_SERVER_IMAGE=nginx:latest
HTTP_SERVER_PORT_MAP=80:80
HTTP_SERVER_CONFIG_VOLUMES_MAP=./build/nginx/volumes/conf.d:/etc/nginx/conf.d
#####################
# PHP CONTAINER #
#####################
PHP_IMAGE=exadra37/php-fpm:latest
#################################
# DATABASE SERVER CONTAINER #
#################################
DATABASE_SERVER_IMAGE=percona:latest
# 'data' represents a a docker local volume... see 'VOLUMES' service in docker composer
DATABASE_SERVER_VOLUME_MAP=data:/var/lib/mysql
DATABASE_SERVER_ROOT_PASSWORD=root_secret
#############################
# LARAVEL ENV OVERRIDES #
#############################
# Required in order Laravel can use the databse in the container.
# The host value 'database' is the name of the service in the docker compose
DB_HOST=database