-
-
Notifications
You must be signed in to change notification settings - Fork 134
/
docker-compose.override.yml
101 lines (83 loc) · 2.17 KB
/
docker-compose.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
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.13}
mariadb:
<< : *default-common
image: mariadb:${LNMP_MYSQL_VERSION:-10.3.10}
redis:
<< : *default-common
image: redis:${LNMP_REDIS_VERSION:-5.0.0}-alpine
memcached:
<< : *default-common
image: memcached:${LNMP_MEMCACHED_VERSION:-1.5}-alpine
rabbitmq:
<< : *default-common
image: rabbitmq:${LNMP_RABBITMQ_VERSION:-3.7}-management-alpine
postgresql:
<< : *default-common
image: postgres:${LNMP_POSTGRESQL_VERSION:-10}-alpine
mongodb:
<< : *default-common
image: mongo:${LNMP_MONGODB_VERSION:-4.1.4}
php7:
<< : *default-common
image: ${LNMP_DOCKER_IMAGE_PREFIX:-khs1994}/php:${LNMP_PHP_VERSION:-7.2.11}-fpm-alpine
phpmyadmin:
<< : *default-common
image: phpmyadmin/phpmyadmin:latest@sha256:6fa491d4e3994ab3ec3410409bf0d59436072df1cfb16b8fe25c47486988103f
nginx:
<< : *default-common
image: khs1994/nginx:${LNMP_NGINX_VERSION:-1.15.6}-alpine
nginx-unit:
<< : *default-common
image: khs1994/php:${LNMP_PHP_VERSION:-7.2.11}-unit-alpine
httpd:
<< : *default-common
image: httpd:${LNMP_HTTPD_VERSION:-2.4.37}-alpine
networks:
frontend:
<< : *default-common
backend:
<< : *default-common
volumes:
mysql-data:
<< : *default-common
mariadb-data:
<< : *default-common
redis-data:
<< : *default-common
rabbitmq-data:
<< : *default-common
postgresql-data:
<< : *default-common
mongodb-data:
<< : *default-common
zoneinfo-data:
<< : *default-common
registry-data:
<< : *default-common
phpmyadmin-data:
<< : *default-common
composer_cache-data:
external: true
name: lnmp_composer_cache-data
nginx-unit-state-data:
<< : *default-common
etcd-data:
<< : *default-common
minio-data:
<< : *default-common
secrets:
db_root_password:
<< : *default-common
file: ./secrets/${DB_ROOT_PASSWORD_PATH:-db_root_password.txt}