forked from ubc-provenance/PIDSMaker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose-pidsmaker.yml
More file actions
36 lines (35 loc) · 771 Bytes
/
compose-pidsmaker.yml
File metadata and controls
36 lines (35 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
services:
pids:
build:
context: .
args:
USER_ID: ${HOST_UID}
GROUP_ID: ${HOST_GID}
USER_NAME: ${USER_NAME}
container_name: ${COMPOSE_PROJECT_NAME}-pids
networks:
- shared_network
ports:
- "8000:8000"
environment:
DB_HOST: postgres
DOCKER_PORT: ${DOCKER_PORT:-5432}
DB_USER: postgres
DB_PASSWORD: postgres
volumes:
- ./:/home/pids
- ${ARTIFACTS_DIR:-/artifacts}:/home/artifacts
entrypoint: bash
stdin_open: true
tty: true
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
networks:
shared_network:
external:
name: shared_network