Hannes Kuchelmeister
commited on
Commit
•
28843d2
1
Parent(s):
c2c19d6
add user to docker-compose
Browse files- docker-compose.cuda.yml +3 -0
- docker-compose.yml +3 -0
- example.env +2 -0
docker-compose.cuda.yml
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
version: "3"
|
2 |
services:
|
3 |
model-cuda:
|
|
|
|
|
|
|
4 |
build:
|
5 |
context: .
|
6 |
dockerfile: DockerfileCUDA
|
|
|
1 |
version: "3"
|
2 |
services:
|
3 |
model-cuda:
|
4 |
+
env_file:
|
5 |
+
- .env
|
6 |
+
user: "${UID}:${GID}"
|
7 |
build:
|
8 |
context: .
|
9 |
dockerfile: DockerfileCUDA
|
docker-compose.yml
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
version: "3"
|
2 |
services:
|
3 |
model:
|
|
|
|
|
|
|
4 |
build:
|
5 |
context: .
|
6 |
dockerfile: Dockerfile
|
|
|
1 |
version: "3"
|
2 |
services:
|
3 |
model:
|
4 |
+
env_file:
|
5 |
+
- .env
|
6 |
+
user: "${UID}:${GID}"
|
7 |
build:
|
8 |
context: .
|
9 |
dockerfile: Dockerfile
|
example.env
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
UID=
|
2 |
+
GID=
|