mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-28 23:31:47 +02:00
add nginx-flask-mysql application sample
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
This commit is contained in:
parent
8bb4e23e28
commit
a410c8bc62
7 changed files with 60 additions and 0 deletions
2
samples/nginx-flask-mysql/proxy/Dockerfile
Executable file
2
samples/nginx-flask-mysql/proxy/Dockerfile
Executable file
|
@ -0,0 +1,2 @@
|
|||
FROM nginx:1.13-alpine
|
||||
COPY conf /etc/nginx/conf.d/default.conf
|
8
samples/nginx-flask-mysql/proxy/conf
Executable file
8
samples/nginx-flask-mysql/proxy/conf
Executable file
|
@ -0,0 +1,8 @@
|
|||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
location / {
|
||||
proxy_pass http://backend:5000;
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue