Skip to content

Commit 28ef8c4

Browse files
committed
refactor: macke code running (partially at least)
1 parent 02c4252 commit 28ef8c4

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

docker/docker-compose.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: "3"
22
services:
33
nginx:
4-
container_name: nginx
4+
# container_name: nginx
55
build:
66
context: ${PWD}/docker/nginx/
77
dockerfile: ${PWD}/docker/nginx/Dockerfile
@@ -15,7 +15,7 @@ services:
1515
extra_hosts:
1616
- "host.docker.internal:host-gateway"
1717
mariadb:
18-
container_name: mariadb
18+
# container_name: mariadb
1919
image: mariadb
2020
restart: always
2121
environment:
@@ -29,7 +29,7 @@ services:
2929
networks:
3030
- obp
3131
rabbitmq:
32-
container_name: rabbitmq
32+
# container_name: rabbitmq
3333
build:
3434
context: ${PWD}/docker/rabbitmq/
3535
dockerfile: Dockerfile
@@ -40,7 +40,7 @@ services:
4040
networks:
4141
- obp
4242
redis:
43-
container_name: redis
43+
# container_name: redis
4444
image: redis:5.0.5
4545
ports:
4646
- "6379:6379"
@@ -50,6 +50,7 @@ services:
5050
elasticsearch:
5151
container_name: elasticsearch
5252
image: elasticsearch:6.8.20
53+
platform: linux/amd64 # force amd64 - no arm image for elasticsearch 6.8
5354
environment:
5455
- cluster.name=obp
5556
- bootstrap.memory_lock=true
@@ -63,7 +64,7 @@ services:
6364
networks:
6465
- obp
6566
pushy:
66-
container_name: pushy
67+
# container_name: pushy
6768
build:
6869
context: ${PWD}
6970
dockerfile: ${PWD}/docker/pushy/Dockerfile

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "MIT"
88
packages = [{include="website", from="."}]
99

1010
[tool.poetry.dependencies]
11-
python = "^2.7"
11+
#python = "^2.7"
1212
Django = "1.8.19"
1313
BeautifulSoup = "3.2.1"
1414
Markdown = "2.4"

static/js/bundle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// legacy stylesheet imports
22
// TODO: check if we can remove legacy-legacy-legacy styles ;)
33
import '../sass/screen.sass';
4-
// import '../sass/scheduler.sass';
4+
import '../sass/scheduler.sass';
55

66
// global stylesheet import
77
import '../style/main.scss';

website/apps/importer/models.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77
import unicodedata
88
import string
99
import ntpath
10-
import magic
10+
try:
11+
import magic
12+
except ImportError:
13+
magic = None
1114
from alibrary.models import Media, Artist, Release
1215
from celery.task import task
1316
from django.conf import settings

0 commit comments

Comments
 (0)