|
3 | 3 | ###
|
4 | 4 |
|
5 | 5 | # the path to store your sql file to be imported
|
6 |
| -DATA_PATH=./data |
| 6 | +export DATA_PATH="${BASE_DIR}/data" |
7 | 7 |
|
8 | 8 | # the path to the docker socket on host machine
|
9 |
| -SOCK_PATH=/var/run/docker.sock |
| 9 | +export SOCK_PATH="/var/run/docker.sock" |
10 | 10 |
|
11 | 11 | # list of container name suffixes, that identify as webservice, e.g. NGINX
|
12 | 12 | # these containers should be configured with a VIRTUAL_HOST environment variable
|
13 | 13 | # separate multiple with pipes "|"
|
14 |
| -WEB_CONTAINER_SUFFIXES=web |
| 14 | +export WEB_CONTAINER_SUFFIXES="web" |
15 | 15 |
|
16 | 16 | # list of container name suffixes, that identify as apps/microservices
|
17 | 17 | # separate multiple with pipes "|"
|
18 |
| -APP_CONTAINER_SUFFIXES=app|php |
| 18 | +export APP_CONTAINER_SUFFIXES="app|php" |
19 | 19 |
|
20 | 20 | # this will attach to the docker logs of the proxy containers after executing
|
21 | 21 | # `DockerExec proxy init` if set to 1
|
22 |
| -ATTACH_TO_COMPOSE_LOGS=1 |
23 |
| - |
24 |
| - |
25 |
| -############################################################ |
26 |
| -### Configure services |
27 |
| -### |
| 22 | +export ATTACH_TO_COMPOSE_LOGS=1 |
28 | 23 |
|
29 | 24 | # the name of the local Docker network for this proxy-stack
|
30 |
| -NETWORK_NAME=nginx-proxy |
31 |
| - |
32 |
| -# the NGINX proxy |
33 |
| -PROXY_NAME=proxy-nginx |
34 |
| - |
35 |
| -# the MySQL database |
36 |
| -DB_NAME=proxy-db |
37 |
| -DB_IMAGE=mysql:5.7 |
38 |
| - |
39 |
| -# the PostgreSQL database |
40 |
| -PG_NAME=proxy-pg |
41 |
| -PG_IMAGE=postgres:12 |
42 |
| - |
43 |
| -# the Redis data storage |
44 |
| -REDIS_NAME=proxy-redis |
45 |
| -REDIS_IMAGE=redis:6 |
46 |
| - |
47 |
| -# PhpMyAdmin tool |
48 |
| -PMA_NAME=proxy-pma |
49 |
| -PMA_IMAGE=phpmyadmin/phpmyadmin:latest |
50 |
| - |
51 |
| -# Adminer tool |
52 |
| -ADMINER_NAME=proxy-adminer |
53 |
| -ADMINER_IMAGE=adminer:latest |
54 |
| - |
55 |
| -# the MailCatcher service |
56 |
| -SMTP_NAME=proxy-smtp |
57 |
| - |
58 |
| - |
59 |
| -############################################################ |
60 |
| -### Configure databases |
61 |
| -### |
62 |
| - |
63 |
| -# MySQL configuration |
64 |
| -MYSQL_ROOT_PASSWORD=root |
65 |
| -MYSQL_PORT=3306 |
66 |
| - |
67 |
| -# PostgreSQL configuration |
68 |
| -POSTGRES_USER=root |
69 |
| -POSTGRES_PASSWORD=root |
70 |
| -POSTGRES_PORT=5432 |
71 |
| - |
72 |
| -# Redis configuration |
73 |
| -REDIS_PASSWORD=root |
74 |
| -REDIS_PORT=6379 |
75 |
| - |
76 |
| - |
77 |
| -############################################################ |
78 |
| -### Configure database tools |
79 |
| -### |
80 |
| - |
81 |
| -# PhpMyAdmin configuration |
82 |
| -PMA_ARBITRARY=1 |
83 |
| -PMA_HOST=proxy-db |
84 |
| -PMA_USER=root |
85 |
| -PMA_PASSWORD=root |
86 |
| - |
87 |
| -# Adminer configuration |
88 |
| -ADMINER_DEFAULT_SERVER=proxy-pg |
89 |
| -#ADMINER_PLUGINS="tables-filter tinymce edit-calendar" |
90 |
| -#ADMINER_DESIGN=rmsoft |
| 25 | +export NETWORK_NAME=proxy-network |
0 commit comments