@phpdude, лень так и скажи )))) в принципе я нашел два примера, пока достаточно
Форум → Разработка → Установка и администрирование ПО → Docker - Linux Containers → Docker in production
Docker in production
Страницы: ← Предыдущая страница →
-
-
Март 9, 2016, 4:02 п.п., спустя 3 минуты 44 секунды
@phpdude, лень так и скажи )))) в принципе я нашел два примера, пока достаточно
@Crank,
https://gist.github.com/phpdude/3a934b899b3cd7ae5acb This file contains 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 charactersweb: restart: always extends: service: manage entrypoint: bash /app/production/web/service.web.sh links: - db - cache - logstash This file contains 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#!/usr/bin/env bash cd /app/ python manage.py migrate /usr/bin/uwsgi --ini /app/production/web/uwsgi.ini This file contains 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[uwsgi] chdir = /app/ pidfile = /tmp/uwsgi.pid socket = 0.0.0.0:9000 pythonpath = . module = project.wsgi:application master = true processes = 25 harakiri = 30 buffer-size = 32768 vacuum = true plugins = python Сапожник без сапог -
Март 9, 2016, 5:35 п.п., спустя 1 час 32 минуты 15 секунд
@phpdude, чет непойму, а nginx с uwsgi у тебя не в контейнерах чтоль?
-
Март 9, 2016, 5:41 п.п., спустя 6 минут 29 секунд
@phpdude, чет непойму, а nginx с uwsgi у тебя не в контейнерах чтоль?
@Crank, ты слепой чтоль?)
конфигурацию nginx я не приводил да, но uwsgi тут описан полностью
Сапожник без сапог -
-
Март 9, 2016, 6:28 п.п., спустя 5 минут 20 секунд
https://gist.github.com/phpdude/5d0c39d3bcf316affe42
This file contains 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 charactersversion: '2' services: db: restart: always image: postgres environment: - POSTGRES_USER=project - POSTGRES_PASSWORD=project volumes: - ./db/postgres:/var/lib/postgresql/data cache: restart: always image: redis manage: image: phpdude/project:app environment: - PRODUCTION=1 entrypoint: python manage.py volumes: - ./logs/:/app/logs/ web: restart: always extends: service: manage entrypoint: bash /app/production/web/service.web.sh links: - db - cache nginx: restart: always image: phpdude/project:app entrypoint: ["nginx", "-g", "daemon off;"] volumes: - ./media/:/app/media/ - ./logs/nginx/:/var/log/nginx/ ports: - 80:80 links: - web Сапожник без сапог -
Март 9, 2016, 7:37 п.п., спустя 1 час 9 минут 7 секунд
@phpdude, во, спасиб, а то в нем самый затык у меня был
-
Март 10, 2016, 1:18 п.п., спустя 17 часов 40 минут 55 секунд
https://smappi.org/ - платформа по созданию API на все случаи жизни -
Март 10, 2016, 5:22 п.п., спустя 4 часа 4 минуты 5 секунд
В комментариях упоминают вот эту статью того же автора:
It really is the future - The CircleCI Blog [blog.circleci.com] It really is the future - The CircleCI Blog
Last week I wrote It’s the Future, a piece that satirized the container ecosystem, lightly mocking Docker and Google and CoreOS and a bunch of other t
blog.circleci.com
не всё полезно, что в swap полезло -
Апрель 1, 2016, 2:46 п.п., спустя 21 день 21 час 24 минуты
@adw0rd, когда-то для меня подобным образом звучали разговоры про django, angular и redis. Новые технологии таки делают разработку лучше, поэтому надо их изучать я считаю
Страницы: ← Предыдущая страница →
Пожалуйста, авторизуйтесь, чтобы написать комментарий!