Skip to content
This repository was archived by the owner on Jan 4, 2021. It is now read-only.

Separate docker configurations for development and production #20

Open
Maharramoff opened this issue Apr 10, 2020 · 1 comment
Open
Labels
question Further information is requested

Comments

@Maharramoff
Copy link
Contributor

Tövsiyə kimi yazıram. Faktiki olaraq işlər hələki development stage-dədir. Ona görə də docker ayarlarını ayırmaq olar. dev.ymlprod.yml kimi. Development üçün nə nginx, nə də ki gunicorn lazım deyil. Digər tərəfdən də, hot reload problemlidir gunicornla. Hər dəfə re-build etməli oluruq. runserver hazırda ən doğru seçimdir.

@hose1021
Copy link
Member

Duzdu, elave olunacag, postgres elave olundan sonra 2 yml fayl olacey. Planda var idi, hele ki test rejimdedi. Docker-compose.yml-da da hele ki commentdedi runserver, hemise deismek ucun

@hose1021 hose1021 added the question Further information is requested label Apr 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants