Browse Source

remove memcache from setup

Maximilian Korndörfer 2 years ago
parent
commit
a65c197f2a
3 changed files with 1 additions and 16 deletions
  1. 0
    10
      docker-compose.yml
  2. 0
    4
      ypc_algorithm/Dockerfile
  3. 1
    2
      ypc_algorithm/requirements.txt

+ 0
- 10
docker-compose.yml View File

@@ -12,11 +12,9 @@ services:
12 12
     links:
13 13
       - db
14 14
       - rabbit
15
-      - memcached
16 15
     depends_on:
17 16
       - db
18 17
       - rabbit
19
-      - memcached
20 18
     volumes:
21 19
       - ./ypc_algorithm:/data  # mount directory inside container
22 20
 
@@ -50,17 +48,9 @@ services:
50 48
     links:
51 49
       - db
52 50
       - rabbit
53
-      - memcached
54 51
     depends_on:
55 52
       - rabbit
56 53
       - db
57 54
     volumes:
58 55
       - ./ypc_algorithm:/data  # mount directory inside container
59 56
     command: celery -A ypc_algorithm_worker.celery_interface worker --loglevel=info
60
-
61
-  memcached:
62
-    image: memcached:latest
63
-    container_name: memcached
64
-    ports:
65
-      - "11211:11211"
66
-

+ 0
- 4
ypc_algorithm/Dockerfile View File

@@ -1,9 +1,5 @@
1 1
 FROM python:3.7
2 2
 
3
-RUN apt-get update && \
4
-    apt-get install -y gcc libmemcached-dev \
5
-    && rm -rf /var/lib/apt/lists/*
6
-
7 3
 RUN pip install uwsgi
8 4
 
9 5
 EXPOSE 80

+ 1
- 2
ypc_algorithm/requirements.txt View File

@@ -7,5 +7,4 @@ flask-debugtoolbar~=0.10
7 7
 decorator~=4.0
8 8
 requests~=2.14
9 9
 scipy~=1.1.0
10
-python-logstash~=0.4
11
-pylibmc~=1.5
10
+python-logstash~=0.4

Loading…
Cancel
Save