툴랩
close
프로필 배경
프로필 로고

툴랩

  • 분류 전체보기 (34)
    • DevLog (1)
    • Programming (18)
      • HTML (1)
      • Golang (1)
      • PHP (1)
      • Laravel (4)
      • Python (5)
      • Delphi (2)
      • Flutter (2)
      • Next.js (0)
      • Node.js (0)
      • Ruby (2)
    • Nothing (0)
    • Arduino (3)
    • Server (12)
      • RockyLinux (11)
      • CentOS (1)
  • Home
  • Tags
  • Guest
  • NaverBlog
  • YouTube
Python, Docker, Compose, Nginx, Flask, Gunicorn 연동하기

Python, Docker, Compose, Nginx, Flask, Gunicorn 연동하기

Docker 와 Python, Flask 연동 자료가 많이 있기는 하지만 안되는 자료가 많아 최소한으로 작동이 되는 예제를 만들었습니다. 디렉토리 구조 project/ │ ├─ app/ │ ├─ __init__.py │ ├─ main.py │ ├─ Dockerfile │ └─ requirements.txt │ ├─ nginx/ │ ├─ Dockerfile │ ├─ default.conf │ └─ nginx.conf │ └─ docker-compose.yml app/main.py from flask import Flask app = Flask(__name__) @app.route('/') def hello(): return "Hello World!" if __name__ == '__main__': app...

  • format_list_bulleted Programming/Python
  • · 2023. 6. 15.
  • textsms
  • navigate_before
  • 1
  • navigate_next
공지사항
전체 카테고리
  • 분류 전체보기 (34)
    • DevLog (1)
    • Programming (18)
      • HTML (1)
      • Golang (1)
      • PHP (1)
      • Laravel (4)
      • Python (5)
      • Delphi (2)
      • Flutter (2)
      • Next.js (0)
      • Node.js (0)
      • Ruby (2)
    • Nothing (0)
    • Arduino (3)
    • Server (12)
      • RockyLinux (11)
      • CentOS (1)
최근 글
인기 글
최근 댓글
태그
  • #flask
  • #golang
  • #laravel
  • #Python
  • #ChatGPT
  • #Laravel10
  • #Flutter
  • #rockylinux
  • #라라벨
  • #PHP
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바