Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michael Iseard
Wordpress Docker
Commits
ba4907f3
Commit
ba4907f3
authored
Sep 09, 2020
by
Michael Iseard
Browse files
Add redis port variable
parent
6232adfa
Changes
2
Hide whitespace changes
Inline
Side-by-side
.env.example
View file @
ba4907f3
...
...
@@ -25,6 +25,7 @@ NGINX_VERSION=latest
# redis
REDIS_PASSWORD=changeme
REDIS_PORT=6379
# volumes on host
NGINX_CONF_DIR=./nginx
...
...
docker-compose.yml
View file @
ba4907f3
...
...
@@ -113,4 +113,4 @@ services:
command
:
redis-server --requirepass ${REDIS_PASSWORD}
restart
:
always
ports
:
-
6379:6379
-
${REDIS_PORT:-
6379
}
:6379
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment