-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (28 loc) · 790 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
30 lines (28 loc) · 790 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
services:
api:
image: ghcr.io/l4rm4nd/pentest-risk-api:latest
container_name: pentest-risk-api
restart: unless-stopped
security_opt:
- no-new-privileges:true
read_only: true
tmpfs:
- /tmp
cap_drop:
- ALL
expose:
- 5000/tcp
ports:
- 5000:5000/tcp
#networks:
# - proxy
#labels:
# - traefik.enable=true
# - traefik.docker.network=proxy
# - traefik.http.routers.pra.rule=Host(`pra.example.com`) && PathPrefix(`/cvss`) || Host(`pra.example.com`) && PathPrefix(`/owasp`)
# - traefik.http.services.pra.loadbalancer.server.port=5000
# # Optional part for traefik middlewares
# #- traefik.http.routers.pra.middlewares=local-ipwhitelist@file
#networks:
# proxy:
# external: true