mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-26 10:43:35 +02:00
updating main documentation to include link to sample and adding newlines
Signed-off-by: grantbirki <grant.birkinbine@gmail.com> Signed-off-by: Grant Birkinbine <grant.birkinbine@gmail.com>
This commit is contained in:
parent
aafa9846df
commit
b1cf5cbc50
6 changed files with 6 additions and 5 deletions
|
@ -4,4 +4,4 @@ make build:
|
|||
docker-compose rm -fs
|
||||
|
||||
echo "[#] Building docker containers"
|
||||
docker-compose up --build -d
|
||||
docker-compose up --build -d
|
||||
|
|
|
@ -29,4 +29,4 @@ services:
|
|||
interval: 10s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
command: gunicorn -w 3 -t 60 -b 0.0.0.0:8000 app:app
|
||||
command: gunicorn -w 3 -t 60 -b 0.0.0.0:8000 app:app
|
||||
|
|
|
@ -24,4 +24,4 @@ def info():
|
|||
|
||||
@app.route('/flask-health-check')
|
||||
def flask_health_check():
|
||||
return "success"
|
||||
return "success"
|
||||
|
|
|
@ -47,4 +47,4 @@ http {
|
|||
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
envsubst '$FLASK_SERVER_ADDR' < /tmp/default.conf > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'
|
||||
envsubst '$FLASK_SERVER_ADDR' < /tmp/default.conf > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue