-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
46 lines (44 loc) · 1.25 KB
/
Copy pathcompose.yaml
File metadata and controls
46 lines (44 loc) · 1.25 KB
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
37
38
39
40
41
42
43
44
45
46
services:
pegaprox:
image: ghcr.io/pegaprox/pegaprox:latest
container_name: pegaprox
restart: unless-stopped
security_opt:
- no-new-privileges:true
environment:
- TZ=${TZ:-America/New_York}
- PEGAPROX_ALLOWED_ORIGINS=https://${PEGAPROX_DOMAIN}
volumes:
- pegaprox-config:/app/config
- pegaprox-logs:/app/logs
networks:
- traefik
labels:
- "traefik.enable=true"
- "traefik.http.routers.pegaprox.rule=Host(`${PEGAPROX_DOMAIN}`)"
- "traefik.http.routers.pegaprox.entrypoints=websecure"
- "traefik.http.routers.pegaprox.tls.certresolver=letsencrypt"
- "traefik.http.routers.pegaprox.middlewares=secure-headers@file,lan-only@file"
- "traefik.http.routers.pegaprox.service=pegaprox@docker"
- "traefik.http.services.pegaprox.loadbalancer.server.port=5000"
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
volumes:
pegaprox-config:
driver: local
driver_opts:
type: none
device: /mnt/SSD/Containers/pegaprox/config
o: bind
pegaprox-logs:
driver: local
driver_opts:
type: none
device: /mnt/SSD/Containers/pegaprox/logs
o: bind
networks:
traefik:
external: true