Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
pirogramming
Recipick
Repository navigation
Code
Issues
2
(2)
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
Recipick
/
docker-compose.dev.yml
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
27 lines (21 loc) · 988 Bytes
main
Breadcrumbs
Recipick
/
docker-compose.dev.yml
Copy path
Top
File metadata and controls
Code
Blame
27 lines (21 loc) · 988 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
version
:
'
3.8
'
services
:
web
:
#
1. 현재 폴더(.)에 있는 Dockerfile로 이미지를 만듭니다.
build
:
.
#
2. 컨테이너 이름 (알아보기 쉽게 설정)
container_name
:
recipick-server
#
3. 실행 명령어 (Dockerfile에 있는 CMD를 덮어쓸 수도 있지만, 명시적으로 적어둡니다)
#
gunicorn으로 배포 환경과 똑같이 실행합니다.
command
:
gunicorn --bind 0.0.0.0:8000 config.wsgi:application
#
4. 내 컴퓨터의 8000번 포트와 컨테이너의 8000번 포트를 연결합니다.
#
(주소창에 localhost:8000 치면 들어갈 수 있게 해줌)
ports
:
-
"
8000:8000
"
#
5. 로컬 폴더를 컨테이너 내부와 연결합니다.
#
(코드를 고치면 재빌드 없이 바로 반영되고, SQLite 파일도 공유됩니다)
volumes
:
-
.:/app
#
6. 아까 만든 비밀창고(.env)를 컨테이너에게 전달합니다.
env_file
:
-
.env
You can’t perform that action at this time.