Commit fa703363 authored by Abhishek's avatar Abhishek
Browse files

docker compose changed to root

parent 482319e2
Pipeline #11951 passed with stage
in 4 minutes and 12 seconds
...@@ -34,18 +34,15 @@ services: ...@@ -34,18 +34,15 @@ services:
backend: backend:
container_name: backend container_name: backend
user: root
image: hftstuttgart/cota-backend:latest image: hftstuttgart/cota-backend:latest
#user: "${EUSER}:${EGID}" #user: "${EUSER}:${EGID}"
user: "1000:999"
environment:
- DOCKER_HOST=unix:///var/run/docker.sock
ports: # Add this section ports: # Add this section
- "8081:8080" - "8081:8080"
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- type: tmpfs - type: tmpfs
target: /tmp/dta-tests target: /tmp/dta-tests
restart: unless-stopped restart: unless-stopped
# This service can be reached by the 'web' container at http://backend:[port] # This service can be reached by the 'web' container at http://backend:[port]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment