-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.yaml
More file actions
30 lines (29 loc) · 774 Bytes
/
Copy pathcompose.yaml
File metadata and controls
30 lines (29 loc) · 774 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
name: crossglyph
services:
crossglyph:
image: ghcr.io/crazycoder/crossglyph:${CROSSGLYPH_TAG:-latest}
pull_policy: missing
command: ["preview", "--no-open"]
environment:
CROSSGLYPH_FONTS: /workspace
user: "${CROSSGLYPH_UID:-1000}:${CROSSGLYPH_GID:-1000}"
init: true
read_only: true
tmpfs:
- /tmp:size=256m,mode=1777
cap_drop:
- ALL
security_opt:
- no-new-privileges:true
ports:
- name: preview
target: 8000
published: "${CROSSGLYPH_PORT:-8000}"
host_ip: "${CROSSGLYPH_BIND:-127.0.0.1}"
protocol: tcp
app_protocol: http
volumes:
- type: bind
source: "${CROSSGLYPH_WORKSPACE:-./fonts}"
target: /workspace
restart: unless-stopped