2025-11-09 16:16:37 -08:00
|
|
|
# Start the service with the command 'docker-compose up -d'
|
|
|
|
|
|
|
|
|
|
services:
|
2025-11-27 05:58:44 -08:00
|
|
|
psf-bch-api:
|
2026-04-01 08:57:10 -07:00
|
|
|
build:
|
|
|
|
|
context: ../..
|
|
|
|
|
dockerfile: production/docker/Dockerfile
|
2025-11-27 05:58:44 -08:00
|
|
|
container_name: psf-bch-api
|
2025-11-09 16:16:37 -08:00
|
|
|
logging:
|
|
|
|
|
driver: 'json-file'
|
|
|
|
|
options:
|
|
|
|
|
max-size: '10m'
|
|
|
|
|
max-file: '10'
|
|
|
|
|
#mem_limit: 500mb
|
|
|
|
|
#links:
|
|
|
|
|
# - mongo-slp-indexer
|
|
|
|
|
ports:
|
|
|
|
|
- '5942:5942' # <host port>:<container port>
|
|
|
|
|
volumes:
|
2025-11-27 05:58:44 -08:00
|
|
|
#- ./start-rest2nostr.sh:/home/safeuser/REST2NOSTR/start-rest2nostr.sh
|
2026-04-01 08:57:10 -07:00
|
|
|
- ./.env:/home/safeuser/psf-bch-api/.env
|
2026-03-16 20:08:04 -07:00
|
|
|
- ../data:/home/safeuser/psf-bch-api/production/data
|
|
|
|
|
- ../data/logs:/home/safeuser/psf-bch-api/logs
|
2025-11-09 16:16:37 -08:00
|
|
|
restart: always
|