mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-16 15:18:07 +00:00
* store: serve the pages as built, settings from /api/config * store: badges page reads its Stripe key from the API * store: badges worker waits for a slow page, not the old build * store: badges page kept a stale Stripe key after the tab returned * store: names page read settings the service no longer writes * store: Caddy had no built sites to serve once the export was gone * store: two page folders where one mount would do * store: example Caddyfile missed the bare /api and /webhooks paths * store: a hand-written page copy script where rsync does it --------- Co-authored-by: sh-agents <350651734+sh-agents@users.noreply.github.com>
46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
services:
|
|
store-service:
|
|
image: simplex-store-service:latest
|
|
build:
|
|
context: ../..
|
|
dockerfile: scripts/store-service/Dockerfile
|
|
target: runtime
|
|
args:
|
|
USER_UID: ${USER_UID:-1000}
|
|
USER_GID: ${USER_GID:-1000}
|
|
restart: unless-stopped
|
|
user: "${USER_UID:-1000}:${USER_GID:-1000}"
|
|
tty: true
|
|
network_mode: host
|
|
command:
|
|
- "-d"
|
|
- "${BADGE_DB_CONN:-postgresql://simplex@127.0.0.1:5432/badge_service}"
|
|
- "--create-schema"
|
|
- "--yes-migrate"
|
|
- "--service-config"
|
|
- "/etc/simplex-store-service/store_service.ini"
|
|
volumes:
|
|
- type: bind
|
|
source: ./config
|
|
target: /etc/simplex-store-service
|
|
read_only: true
|
|
bind:
|
|
create_host_path: false
|
|
stop_grace_period: 10s
|
|
|
|
webapps:
|
|
image: simplex-store-webapps:latest
|
|
build:
|
|
context: ../..
|
|
dockerfile: scripts/store-service/Dockerfile
|
|
target: webapps
|
|
restart: "no"
|
|
user: "${USER_UID:-1000}:${USER_GID:-1000}"
|
|
network_mode: none
|
|
volumes:
|
|
- type: bind
|
|
source: ./webapps
|
|
target: /out
|
|
bind:
|
|
create_host_path: false
|