1 | NO CONTENT: new file 100644 |
|
NO CONTENT: new file 100644 |
@@ -2,7 +2,6 | |||||
2 | REDIS_HOST=radarsys-redis |
|
2 | REDIS_HOST=radarsys-redis | |
3 | REDIS_PORT=6300 |
|
3 | REDIS_PORT=6300 | |
4 | POSTGRES_PORT_5432_TCP_ADDR=radarsys-postgres |
|
4 | POSTGRES_PORT_5432_TCP_ADDR=radarsys-postgres | |
5 | # POSTGRES_PORT_5432_TCP_PORT=5400 |
|
|||
6 | POSTGRES_PORT_5432_TCP_PORT=5432 |
|
5 | POSTGRES_PORT_5432_TCP_PORT=5432 | |
7 | #POSTGRES_HOST=postgres |
|
6 | #POSTGRES_HOST=postgres | |
8 | POSTGRES_HOST=localhost |
|
7 | POSTGRES_HOST=localhost |
@@ -6,42 +6,19 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 |
|
|||
10 | #command: python manage.py runserver 0.0.0.0:8000 |
|
|||
11 | ports: |
|
9 | ports: | |
12 | - 8000:8000 |
|
10 | - 8000:8000 | |
13 | #ports: |
|
|||
14 | # - 8030:8030 |
|
|||
15 | env_file: .env |
|
11 | env_file: .env | |
16 |
|
||||
17 | links: |
|
12 | links: | |
18 | # - redis |
|
|||
19 | - postgres |
|
13 | - postgres | |
20 | volumes: |
|
14 | volumes: | |
21 | - './:/radarsys' |
|
15 | - './:/radarsys' | |
22 | - '${DOCKER_DATA}/static:/radarsys/static' |
|
16 | - '${DOCKER_DATA}/static:/radarsys/static' | |
23 | depends_on: |
|
17 | depends_on: | |
24 | # - redis |
|
|||
25 | - postgres |
|
18 | - postgres | |
26 |
|
19 | |||
27 | # redis: |
|
|||
28 | # container_name: 'radarsys-redis' |
|
|||
29 | # image: 'redis:3.2-alpine' |
|
|||
30 | # volumes: |
|
|||
31 | # - '${DOCKER_DATA}/redis:/data' |
|
|||
32 |
|
||||
33 | # celery_worker: |
|
|||
34 | # container_name: 'radarsys-celery' |
|
|||
35 | # image: radarsys |
|
|||
36 | # env_file: .env |
|
|||
37 | # command: celery -A radarsys worker -l info |
|
|||
38 | # volumes_from: |
|
|||
39 | # - web |
|
|||
40 | # depends_on: |
|
|||
41 | # - web |
|
|||
42 |
|
||||
43 | # PostgreSQL |
|
20 | # PostgreSQL | |
44 | postgres: |
|
21 | radarsys-postgres: | |
45 | container_name: 'radarsys-postgres' |
|
22 | container_name: 'radarsys-postgres' | |
46 | build: ./postgres/ |
|
23 | build: ./postgres/ | |
47 | volumes: |
|
24 | volumes: |
1 | NO CONTENT: modified file |
|
NO CONTENT: modified file |
General Comments 0
You need to be logged in to leave comments.
Login now