|
1 | NO CONTENT: new file 100644 |
@@ -2,7 +2,6 | |||
|
2 | 2 | REDIS_HOST=radarsys-redis |
|
3 | 3 | REDIS_PORT=6300 |
|
4 | 4 | POSTGRES_PORT_5432_TCP_ADDR=radarsys-postgres |
|
5 | # POSTGRES_PORT_5432_TCP_PORT=5400 | |
|
6 | 5 | POSTGRES_PORT_5432_TCP_PORT=5432 |
|
7 | 6 | #POSTGRES_HOST=postgres |
|
8 | 7 | POSTGRES_HOST=localhost |
@@ -6,42 +6,19 services: | |||
|
6 | 6 | build: . |
|
7 | 7 | restart: always |
|
8 | 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 | 9 | ports: |
|
12 | 10 | - 8000:8000 |
|
13 | #ports: | |
|
14 | # - 8030:8030 | |
|
15 | 11 | env_file: .env |
|
16 | ||
|
17 | 12 | links: |
|
18 | # - redis | |
|
19 | 13 | - postgres |
|
20 | 14 | volumes: |
|
21 | 15 | - './:/radarsys' |
|
22 | 16 | - '${DOCKER_DATA}/static:/radarsys/static' |
|
23 | 17 | depends_on: |
|
24 | # - redis | |
|
25 | 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 | 20 | # PostgreSQL |
|
44 | postgres: | |
|
21 | radarsys-postgres: | |
|
45 | 22 | container_name: 'radarsys-postgres' |
|
46 | 23 | build: ./postgres/ |
|
47 | 24 | volumes: |
@@ -49,7 +26,7 services: | |||
|
49 | 26 | - pgdata:/var/lib/postgresql/data |
|
50 | 27 | ports: |
|
51 | 28 | - 5432:5432 |
|
52 |
env_file: .env |
|
|
29 | env_file: .env | |
|
53 | 30 | |
|
54 | 31 | #Web Server |
|
55 | 32 | radarsys-nginx: |
@@ -9,4 +9,4 python3 manage.py collectstatic --no-input | |||
|
9 | 9 | #DJANGO_SUPERUSER_PASSWORD=$SUPER_USER_PASSWORD python manage.py createsuperuser --username $SUPER_USER_NAME --email $SUPER_USER_EMAIL --noinput |
|
10 | 10 | |
|
11 | 11 | gunicorn -k eventlet radarsys.wsgi:application --bind 0.0.0.0:8000 |
|
12 | No newline at end of file | |
|
12 | No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now