We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4899779 commit b784736Copy full SHA for b784736
docker-compose.yml
@@ -7,7 +7,7 @@ services:
7
build:
8
context: .
9
ports:
10
- - 81:5000
+ - 5000:5000
11
volumes:
12
- ./logs:/code/logs
13
- .:/code
docker_quickstart.py
@@ -1,3 +1,4 @@
1
+#!/usr/bin/env python3
2
from flask import Flask
3
app = Flask(__name__)
4
@@ -7,7 +8,11 @@ def hello_world():
@app.route('/fargate')
def hello_fargate():
- return 'Hello Fargate! asd'
+ return 'Hello Fargate!'
+
+@app.route('/ec2')
14
+def hello_fargate():
15
+ return 'Hello ECS on EC2!'
16
17
if __name__ == '__main__':
18
app.run(debug=True,host='0.0.0.0')
0 commit comments