@@ -18,7 +18,7 | |||||
18 | {% block dds_rest%} |
|
18 | {% block dds_rest%} | |
19 | {% endblock %} |
|
19 | {% endblock %} | |
20 | {% else %} |
|
20 | {% else %} | |
21 |
{% bootstrap_form form layout='horizontal' size='m |
|
21 | {% bootstrap_form form layout='horizontal' size='md' %} | |
22 | {% endif %} |
|
22 | {% endif %} | |
23 |
|
23 | |||
24 | <div style="clear: both;"></div> |
|
24 | <div style="clear: both;"></div> |
@@ -6,27 +6,27 services: | |||||
6 | build: . |
|
6 | build: . | |
7 | restart: always |
|
7 | restart: always | |
8 | image: radarsys |
|
8 | image: radarsys | |
9 | command: gunicorn radarsys.wsgi:application -w 2 -b :8000 |
|
9 | # command: gunicorn radarsys.wsgi:application -w 2 -b :8000 | |
10 |
|
|
10 | command: python manage.py runserver 0.0.0.0:8030 | |
11 |
|
|
11 | ports: | |
12 |
|
|
12 | - 8030:8030 | |
13 | env_file: .env |
|
13 | env_file: .env | |
14 |
|
14 | |||
15 | links: |
|
15 | links: | |
16 | - redis |
|
16 | # - redis | |
17 | - postgres |
|
17 | - postgres | |
18 | volumes: |
|
18 | volumes: | |
19 | - './:/radarsys' |
|
19 | - './:/radarsys' | |
20 | - '${DOCKER_DATA}/static:/radarsys/static' |
|
20 | - '${DOCKER_DATA}/static:/radarsys/static' | |
21 | depends_on: |
|
21 | depends_on: | |
22 | - redis |
|
22 | # - redis | |
23 | - postgres |
|
23 | - postgres | |
24 |
|
24 | |||
25 | redis: |
|
25 | # redis: | |
26 | container_name: 'radarsys-redis' |
|
26 | # container_name: 'radarsys-redis' | |
27 | image: 'redis:3.2-alpine' |
|
27 | # image: 'redis:3.2-alpine' | |
28 | volumes: |
|
28 | # volumes: | |
29 | - '${DOCKER_DATA}/redis:/data' |
|
29 | # - '${DOCKER_DATA}/redis:/data' | |
30 |
|
30 | |||
31 | # celery_worker: |
|
31 | # celery_worker: | |
32 | # container_name: 'radarsys-celery' |
|
32 | # container_name: 'radarsys-celery' | |
@@ -50,18 +50,18 services: | |||||
50 | env_file: .env |
|
50 | env_file: .env | |
51 |
|
51 | |||
52 | # Web Server |
|
52 | # Web Server | |
53 | nginx: |
|
53 | # nginx: | |
54 | container_name: 'radarsys-nginx' |
|
54 | # container_name: 'radarsys-nginx' | |
55 | restart: always |
|
55 | # restart: always | |
56 | build: ./nginx/ |
|
56 | # build: ./nginx/ | |
57 | ports: |
|
57 | # ports: | |
58 | - '8030:8030' |
|
58 | # - '8030:8030' | |
59 | volumes_from: |
|
59 | # volumes_from: | |
60 | - web |
|
60 | # - web | |
61 | links: |
|
61 | # links: | |
62 | - web:web |
|
62 | # - web:web | |
63 | depends_on: |
|
63 | # depends_on: | |
64 | - web |
|
64 | # - web | |
65 |
|
65 | |||
66 | volumes: |
|
66 | volumes: | |
67 | pgdata: |
|
67 | pgdata: |
General Comments 0
You need to be logged in to leave comments.
Login now