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

25 lines
723 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:
- ./store_service.ini:/etc/simplex-store-service/store_service.ini:ro
- ./web:/srv/webapp
stop_grace_period: 10s