-
-
Notifications
You must be signed in to change notification settings - Fork 98
Expand file tree
/
Copy pathcompose.yml
More file actions
32 lines (31 loc) · 893 Bytes
/
Copy pathcompose.yml
File metadata and controls
32 lines (31 loc) · 893 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
services:
hister:
image: ${HISTER_IMAGE:-ghcr.io/asciimoo/hister:latest}
# Prefer the published image for `compose up`; `compose build` still uses
# the source below and can reuse layers from the published image.
pull_policy: missing
build:
context: .
target: release
cache_from:
- ${HISTER_IMAGE:-ghcr.io/asciimoo/hister:latest}
- type=registry,ref=${HISTER_CACHE_IMAGE:-ghcr.io/asciimoo/hister:buildcache}
container_name: hister
init: true
restart: unless-stopped
read_only: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
ports:
- '4433:4433'
volumes:
- hister_data:/hister/data
tmpfs:
- /tmp:noexec,nosuid,size=64m
environment:
HISTER__SERVER__ADDRESS: 0.0.0.0:4433
HISTER__SERVER__BASE_URL: http://localhost:4433
volumes:
hister_data: