2022-06-22 12:40:59 +00:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
services:
|
|
|
|
app_proxy:
|
|
|
|
environment:
|
2022-12-04 20:18:22 +00:00
|
|
|
APP_HOST: woofbot_web_1
|
2022-06-22 12:40:59 +00:00
|
|
|
APP_PORT: 8080
|
2022-12-04 20:18:22 +00:00
|
|
|
|
2022-06-22 12:40:59 +00:00
|
|
|
web:
|
2023-09-18 04:47:49 +00:00
|
|
|
image: woofbot/woofbot:v0.9.8@sha256:483076f0f364291d569025639ab502dc19c9c61d38931402955482e53cc3d950
|
2023-03-08 19:32:11 +00:00
|
|
|
user: 1000:1000
|
2022-06-22 12:40:59 +00:00
|
|
|
restart: on-failure
|
|
|
|
stop_grace_period: 1m
|
|
|
|
environment:
|
2022-12-04 20:18:22 +00:00
|
|
|
MONGODB_URI: "mongodb://woofbot_mongodb_1:27017/woofbot"
|
2022-06-22 12:40:59 +00:00
|
|
|
APP_PORT: "8080"
|
|
|
|
APP_SEED: $APP_SEED
|
|
|
|
APP_BITCOIN_NODE_IP: $APP_BITCOIN_NODE_IP
|
|
|
|
APP_BITCOIN_RPC_USER: $APP_BITCOIN_RPC_USER
|
|
|
|
APP_BITCOIN_RPC_PASS: $APP_BITCOIN_RPC_PASS
|
|
|
|
APP_BITCOIN_RPC_PORT: $APP_BITCOIN_RPC_PORT
|
2022-12-14 15:02:11 +00:00
|
|
|
SERVER_LOGS_FILEPATH: /app/logs/server.log
|
2023-01-05 23:15:06 +00:00
|
|
|
volumes:
|
|
|
|
- ${APP_DATA_DIR}/data/server-logs:/app/logs
|
2022-06-22 12:40:59 +00:00
|
|
|
depends_on:
|
|
|
|
- mongodb
|
2022-12-04 20:18:22 +00:00
|
|
|
|
2022-06-22 12:40:59 +00:00
|
|
|
mongodb:
|
|
|
|
# Newer mongo versions don't support Raspberry Pi 4 arm64
|
|
|
|
image: mongo:4.4.6-bionic@sha256:3d0e6df9fd5bc42cbf8ef8bc9e6c4e78f6f26c7157dbd7bdec72d202ab8ebe3a
|
|
|
|
user: 1000:1000
|
|
|
|
restart: on-failure
|
|
|
|
stop_grace_period: 1m
|
|
|
|
volumes:
|
|
|
|
- ${APP_DATA_DIR}/data/db:/data/db
|
|
|
|
- ${APP_DATA_DIR}/data/db/diagnostic.data:/data/db/diagnostic.data
|
|
|
|
- ${APP_DATA_DIR}/data/db/journal:/data/db/journal
|