Files
simplex-chat/scripts/store-service/compose.yml
T

31 lines
850 B
YAML

services:
store-service:
image: simplex-store-service:latest
build:
context: ../..
dockerfile: scripts/store-service/Dockerfile
args:
USER_UID: ${USER_UID:-1000}
USER_GID: ${USER_GID:-1000}
restart: on-failure:5
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
- ./badges:/srv/badges-export
- ./names:/srv/names-export
stop_grace_period: 10s