You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

docker-compose.yml 360 B

123456789101112131415161718192021222324
  1. db:
  2. restart: always
  3. image: postgres:9.4
  4. volumes:
  5. - postgres_db:/var/lib/postgresql/data
  6. django:
  7. restart: always
  8. build: .
  9. expose:
  10. - "8000"
  11. volumes:
  12. - django_www:/usr/src/app/www
  13. links:
  14. - db
  15. command: ./start.sh
  16. nginx:
  17. restart: always
  18. build: ./nginx/
  19. ports:
  20. - "80:80"
  21. volumes_from:
  22. - django
  23. links:
  24. - django