forked from khs1994-docker/lnmp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-lnmp.override.yml
71 lines (58 loc) · 1.64 KB
/
docker-lnmp.override.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
version: "3.7"
#
# @link https://docs.docker.com/compose/extends/
#
x-common:
&default-common
labels:
- ${LNMP_DOMAIN:-com.khs1994.lnmp}=true
- ${LNMP_DOMAIN:-com.khs1994.lnmp}.app.env=development
services:
mysql:
<< : *default-common
image: mysql:${LNMP_MYSQL_VERSION:-8.0.19}
redis:
<< : *default-common
image: redis:${LNMP_REDIS_VERSION:-5.0.7}-alpine
memcached:
<< : *default-common
image: memcached:${LNMP_MEMCACHED_VERSION:-1.5.22}-alpine
php7:
<< : *default-common
image: ${LNMP_DOCKER_IMAGE_PREFIX:-khs1994}/php:${LNMP_PHP_VERSION:-7.4.3}-fpm-alpine
composer:
<< : *default-common
image: ${LNMP_DOCKER_IMAGE_PREFIX:-khs1994}/php:${LNMP_PHP_VERSION:-7.4.3}-composer-alpine
supervisord:
<< : *default-common
image: ${LNMP_DOCKER_IMAGE_PREFIX:-khs1994}/php:${LNMP_PHP_VERSION:-7.4.3}-supervisord-alpine
phpmyadmin:
<< : *default-common
image: phpmyadmin/phpmyadmin:latest
nginx:
<< : *default-common
# image: khs1994/nginx:${LNMP_NGINX_VERSION:-1.17.8}-alpine
image: nginx:${LNMP_NGINX_VERSION:-1.17.8}-alpine
networks:
frontend:
<< : *default-common
backend:
<< : *default-common
volumes:
mysql-data:
<< : *default-common
redis-data:
<< : *default-common
zoneinfo-data:
<< : *default-common
phpmyadmin-data:
<< : *default-common
composer_cache-data:
<< : *default-common
secrets:
db_root_password:
<< : *default-common
file: ./secrets/${LNMP_DB_ROOT_PASSWORD_PATH:-db_root_password.txt}
supervisord_ini:
<< : *default-common
file: ./config/supervisord/${LNMP_SUPERVISORD_INI_PATH:-supervisord.ini}