Last active
          May 16, 2017 02:56 
        
      - 
      
- 
        Save yoanisgil/bccdaa8f30234f07ebfd67538f0ce3e1 to your computer and use it in GitHub Desktop. 
    docker-compose.yml for Medium Article: https://medium.com/@yoanis_gil/python-docker-from-development-to-production-episode-i-427674710f3e
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | app: | |
| image: easygeoip_app | |
| build: . | |
| command: ["python", "/srv/app/main.py"] | |
| volumes: | |
| - .:/srv/app | |
| ports: | |
| - "5000:5000" | |
| environment: | |
| - DB_PASSWORD=thepassword | |
| - DEBUG=1 | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment