docekr image in settings
This commit is contained in:
parent
5ab91ec250
commit
5243b24a5a
@ -1,11 +1,12 @@
|
||||
import docker
|
||||
import hashlib
|
||||
from settings import DOCKER_IMAGE
|
||||
|
||||
|
||||
class DockerManager:
|
||||
def __init__(self):
|
||||
self.client = docker.from_env()
|
||||
self.image = 'felixlohmeier/openrefine'
|
||||
self.image = DOCKER_IMAGE
|
||||
|
||||
def create_new_volume(self, username):
|
||||
# Hashing username to get volume name
|
||||
|
@ -139,4 +139,6 @@ AUTH_USER_MODEL = "MUOR.Profile"
|
||||
|
||||
AVAILABLE_PORTS_RANGE = (6000, 7000)
|
||||
|
||||
DOCKER_IMAGE = 'openrefine:latest'
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user