mirror of
https://github.com/docker/compose.git
synced 2025-07-21 12:44:54 +02:00
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
|
||||
app = Flask(__name__)
|
||||
redis = Redis(
|
||||
host=os.environ.get('FIGTEST_REDIS_1_PORT_6379_TCP_ADDR'),
|
||||
port=int(os.environ.get('FIGTEST_REDIS_1_PORT_6379_TCP_PORT'))
|
||||
host=os.environ.get('REDIS_1_PORT_6379_TCP_ADDR'),
|
||||
port=int(os.environ.get('REDIS_1_PORT_6379_TCP_PORT'))
|
||||
)
|
||||
|
||||
@app.route('/')
|
||||
|
Loading…
x
Reference in New Issue
Block a user