Merge pull request #1406 from vjrngn/patch-1

Reference beanstalkd-console host port environment variable in docker-compose.yml
This commit is contained in:
Yu-Lung Shao (Allen) 2018-03-02 08:22:36 +08:00 committed by GitHub
commit c4aef8e901
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -818,6 +818,8 @@ docker-compose up -d beanstalkd-console
2 - Open your browser and visit `http://localhost:2080/`
_Note: You can customize the port on which beanstalkd console is listening by changing `BEANSTALKD_CONSOLE_HOST_PORT` in `.env`. The default value is *2080*._
3 - Add the server
- Host: beanstalkd

View File

@ -429,7 +429,7 @@ services:
beanstalkd-console:
build: ./beanstalkd-console
ports:
- "2080:2080"
- "${BEANSTALKD_CONSOLE_HOST_PORT}:2080"
depends_on:
- beanstalkd
networks: