App update
diff --git a/docker-compose.yml b/docker-compose.yml index 373f09a..3637170 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,18 +1,19 @@ version: '3.7' services: - db: - image: postgres:11 - volumes: - - ./db/data:/var/lib/postgresql/data - environment: - - POSTGRES_PASSWORD=icnml - ports: - - 127.0.0.1:5432:5432 + # db: + # image: postgres:11 + # volumes: + # - ./db/data:/var/lib/postgresql/data + # environment: + # - POSTGRES_PASSWORD=icnml + # ports: + # - 127.0.0.1:5432:5432 web: build: web - ports: - - 80:5000 + network_mode: host + # ports: + # - 80:5000 env_file: - env volumes: @@ -21,7 +22,7 @@ services: entrypoint: python2 dev.py depends_on: - redis - - db + # - db redis: build: redis diff --git a/web/Dockerfile b/web/Dockerfile index bedbe4c..f9b0b0f 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -14,7 +14,7 @@ RUN python2 /tmp/get-pip.py ################################################################################ # User configuration -RUN adduser --shell /bin/true --no-create-home --uid 999 --disabled-password --disabled-login icnml && \ +RUN adduser --shell /bin/true --no-create-home --uid 1000 --disabled-password --disabled-login icnml && \ sed -i -r "/^(icnml|root)/!d" /etc/group /etc/passwd && \ sed -i -r 's#^(.*):[^:]*$#\1:/sbin/nologin#' /etc/passwd Submodule web/app ee3b668..81a7d19: > Merge branch 'feature/cnm/admin_all_marks_quality' into develop
Loading