mirror of
https://github.com/rr-/pq-cli.git
synced 2026-09-28 22:33:59 -06:00
build: add Docker builds
Co-authored-by: Jakub Stastka <jakub@stastka.org>
This commit is contained in:
co-authored by
Jakub Stastka
parent
7426924170
commit
696fad78b3
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
pqcli-init:
|
||||
build: .
|
||||
image: ghcr.io/${GITHUB_REPOSITORY_OWNER:-local}/pq-cli:latest
|
||||
stdin_open: true
|
||||
tty: true
|
||||
command: ["pqcli", "--basic"]
|
||||
environment:
|
||||
XDG_CONFIG_HOME: /data
|
||||
volumes:
|
||||
- pqcli-data:/data
|
||||
|
||||
pqcli:
|
||||
build: .
|
||||
stdin_open: true
|
||||
tty: true
|
||||
stop_signal: SIGINT
|
||||
stop_grace_period: 30s
|
||||
command: ["sh", "-c", "pqcli --basic --load-save ${PQCLI_SAVE_SLOT:-1}"]
|
||||
environment:
|
||||
XDG_CONFIG_HOME: /data
|
||||
volumes:
|
||||
- pqcli-data:/data
|
||||
|
||||
volumes:
|
||||
pqcli-data:
|
||||
Reference in New Issue
Block a user