-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (43 loc) · 1.07 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
version: "3"
services:
mariadb:
container_name: "koenavel_mariadb"
image: wodby/mariadb:latest
environment:
MYSQL_ROOT_PASSWORD: koenavelRootPass
MYSQL_DATABASE: koenavel
MYSQL_USER: koenavelUser
MYSQL_PASSWORD: koenavelPass
php:
container_name: "koenavel_php"
image: wodby/php:latest
depends_on:
- mariadb
- redis
environment:
PHP_FPM_CLEAR_ENV: "no"
MYSQL_DATABASE: koenavel
MYSQL_HOSTNAME: mariadb
MYSQL_USER: koenavelUser
MYSQL_PASSWORD: koenavelPass
REDIS_HOST: redis
volumes:
- ./:/var/www/html:cached
nginx:
container_name: "koenavel_nginx"
image: wodby/nginx:latest
depends_on:
- php
environment:
NGINX_STATIC_OPEN_FILE_CACHE: "off"
NGINX_BACKEND_HOST: php
NGINX_SERVER_ROOT: /var/www/html/web/
NGINX_VHOST_PRESET: php
volumes:
- ./:/var/www/html:cached
redis:
container_name: "koenavel_redis"
image: wodby/redis:latest
mailhog:
container_name: "koenavel_mailhog"
image: mailhog/mailhog:latest