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
| web: | |
| restart: always | |
| build: ./web | |
| expose: | |
| - "8000" | |
| links: | |
| - postgres:postgres | |
| volumes: | |
| - web:/usr/src/app | |
| env_file: .env |
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
| SECRET_KEY=2+l!@4@m6y#ck1q*5$z1ua*3%-ayynqfik=2$v@s%*sh+e)*ff | |
| DB_NAME=mycms | |
| DB_USER=mycms_user | |
| DB_PASS=Mycm$_Pa$$ | |
| DB_SERVICE=postgres | |
| DB_PORT=5432 |
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
| # (...) | |
| SECRET_KEY = os.environ['SECRET_KEY'] | |
| # (...) | |
| DATABASES = { | |
| 'default': { | |
| 'ENGINE': 'django.db.backends.postgresql_psycopg2', | |
| 'NAME': os.environ['DB_NAME'], | |
| 'USER': os.environ['DB_USER'], | |
| 'PASSWORD': os.environ['DB_PASS'], | |
| 'HOST': os.environ['DB_SERVICE'], |
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
| $ virtualenv --version | |
| 13.0.3 | |
| $ docker -v | |
| Docker version 1.6.2, build 7c8fca2 | |
| $ docker-compose --version | |
| docker-compose 1.2.0 | |
| $ docker-machine --version |
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
| server { | |
| listen 80; | |
| server_name example.org; | |
| charset utf-8; | |
| location /static { | |
| alias /usr/src/app/static; | |
| } |
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
| env | |
| .env | |
| *.pyc |
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
| FROM tutum/nginx | |
| RUN rm /etc/nginx/sites-enabled/default | |
| ADD sites-enabled/ /etc/nginx/sites-enabled |
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
| FROM python:3.4.2-onbuild |
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
| NAME ACTIVE DRIVER STATE URL SWARM | |
| mycms-dev * virtualbox Running tcp://192.168.99.100:2376 |
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
| web: | |
| restart: always | |
| build: ./web | |
| expose: | |
| - "8000" | |
| links: | |
| - postgres:postgres | |
| env_file: .env | |
| command: /usr/local/bin/gunicorn mycms.wsgi:application -w 2 -b :8000 |
OlderNewer