mirror of https://github.com/docker/compose.git
Use new envvar format in getting started guide
This commit is contained in:
parent
d4f76ba5f9
commit
d5bc521ab0
|
@ -74,8 +74,8 @@ from redis import Redis
|
||||||
import os
|
import os
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
redis = Redis(
|
redis = Redis(
|
||||||
host=os.environ.get('FIGTEST_REDIS_1_PORT_6379_TCP_ADDR'),
|
host=os.environ.get('REDIS_1_PORT_6379_TCP_ADDR'),
|
||||||
port=int(os.environ.get('FIGTEST_REDIS_1_PORT_6379_TCP_PORT'))
|
port=int(os.environ.get('REDIS_1_PORT_6379_TCP_PORT'))
|
||||||
)
|
)
|
||||||
|
|
||||||
@app.route('/')
|
@app.route('/')
|
||||||
|
|
Loading…
Reference in New Issue