2024-12-03 17:00:10 +02:00
|
|
|
volumes:
|
|
|
|
|
couchdb_data:
|
|
|
|
|
db_migrations_data:
|
|
|
|
|
|
2024-11-24 22:45:50 +02:00
|
|
|
services:
|
|
|
|
|
couchdb:
|
2024-12-03 14:50:30 +02:00
|
|
|
build: services/couchdb
|
2024-12-03 11:49:01 +02:00
|
|
|
image: hereconnect/service-couchdb:${COUCHDB_TAG:-latest}
|
2024-11-24 22:45:50 +02:00
|
|
|
ports:
|
2024-12-06 12:00:24 +02:00
|
|
|
- "127.0.0.1:${COUCHDB_PORT:-5984}:5984"
|
2024-11-24 22:45:50 +02:00
|
|
|
volumes:
|
2024-12-03 11:49:01 +02:00
|
|
|
- couchdb_data:/opt/couchdb/data
|
|
|
|
|
environment:
|
|
|
|
|
- COUCHDB_USER=${COUCHDB_USER}
|
|
|
|
|
- COUCHDB_PASSWORD=${COUCHDB_PASSWORD}
|
2024-11-24 22:45:50 +02:00
|
|
|
restart: unless-stopped
|
2024-11-27 15:57:11 +02:00
|
|
|
logging:
|
|
|
|
|
driver: "json-file"
|
|
|
|
|
options:
|
|
|
|
|
max-size: "100m"
|
2024-12-03 11:49:01 +02:00
|
|
|
max-file: "10"
|
|
|
|
|
|
2024-12-03 13:33:37 +02:00
|
|
|
db-migrations:
|
|
|
|
|
image: hereconnect/service-db-migrations:${DB_MIGRATIONS_TAG:-latest}
|
2024-12-03 16:40:27 +02:00
|
|
|
build:
|
|
|
|
|
context: build/service-db-migrations
|
|
|
|
|
dockerfile: ../../services/db-migrations/Dockerfile
|
2024-12-03 13:33:37 +02:00
|
|
|
volumes:
|
2024-12-03 14:19:15 +02:00
|
|
|
- db_migrations_data:/opt/db-migrations/data
|
2024-12-03 14:14:58 +02:00
|
|
|
environment:
|
|
|
|
|
- API_URL=http://${COUCHDB_USER}:${COUCHDB_PASSWORD}@couchdb:5984
|
2024-12-03 13:33:37 +02:00
|
|
|
depends_on:
|
2024-12-03 17:03:44 +02:00
|
|
|
couchdb:
|
2024-12-03 17:00:10 +02:00
|
|
|
condition: service_healthy
|
2024-12-03 13:33:37 +02:00
|
|
|
restart: no
|
2024-12-03 15:25:08 +02:00
|
|
|
logging:
|
|
|
|
|
driver: "json-file"
|
|
|
|
|
options:
|
|
|
|
|
max-size: "10m"
|
|
|
|
|
max-file: "1"
|
|
|
|
|
|
|
|
|
|
message-delivery-method-web-push:
|
2024-12-03 17:14:33 +02:00
|
|
|
image: hereconnect/service-message-delivery-method-web-push:${MESSAGE_DELIVERY_METHOD_WEB_PUSH_TAG:-latest}
|
2024-12-03 16:40:27 +02:00
|
|
|
build:
|
|
|
|
|
context: build/service-message-delivery-method-web-push
|
|
|
|
|
dockerfile: ../../services/message-delivery-method-web-push/Dockerfile
|
2024-12-03 15:25:08 +02:00
|
|
|
environment:
|
|
|
|
|
- API_URL=http://${COUCHDB_USER}:${COUCHDB_PASSWORD}@couchdb:5984
|
2024-12-03 17:43:32 +02:00
|
|
|
- VAPID_SUBJECT=${VAPID_SUBJECT:-}
|
|
|
|
|
- GCM_API_KEY=${GCM_API_KEY:-}
|
2024-12-15 01:45:54 +02:00
|
|
|
- HEARTBEAT_INTERVAL=${HEARTBEAT_INTERVAL:-30000}
|
2024-12-03 15:25:08 +02:00
|
|
|
depends_on:
|
2024-12-03 17:03:44 +02:00
|
|
|
couchdb:
|
2024-12-03 17:00:10 +02:00
|
|
|
condition: service_healthy
|
|
|
|
|
restart: true
|
|
|
|
|
db-migrations:
|
|
|
|
|
condition: service_completed_successfully
|
2024-12-03 18:57:07 +02:00
|
|
|
restart: unless-stopped
|
2024-12-03 15:25:08 +02:00
|
|
|
logging:
|
|
|
|
|
driver: "json-file"
|
|
|
|
|
options:
|
|
|
|
|
max-size: "100m"
|
|
|
|
|
max-file: "10"
|
2024-12-12 17:45:01 +02:00
|
|
|
|
|
|
|
|
tg-bot:
|
2024-12-12 19:19:59 +02:00
|
|
|
image: hereconnect/service-tg-bot:${TG_BOT_TAG:-latest}
|
2024-12-12 17:45:01 +02:00
|
|
|
build:
|
|
|
|
|
context: build/service-tg-bot
|
|
|
|
|
dockerfile: ../../services/tg-bot/Dockerfile
|
|
|
|
|
environment:
|
|
|
|
|
- API_URL=http://${COUCHDB_USER}:${COUCHDB_PASSWORD}@couchdb:5984
|
|
|
|
|
- BOT_TOKEN=${BOT_TOKEN:-}
|
|
|
|
|
- READ_BASE_URL=${READ_BASE_URL:-}
|
2024-12-15 01:45:54 +02:00
|
|
|
- HEARTBEAT_INTERVAL=${HEARTBEAT_INTERVAL:-30000}
|
2024-12-12 20:48:30 +02:00
|
|
|
- DEBUG=${TG_BOT_DEBUG:-}
|
2024-12-12 17:45:01 +02:00
|
|
|
depends_on:
|
|
|
|
|
couchdb:
|
|
|
|
|
condition: service_healthy
|
|
|
|
|
restart: true
|
|
|
|
|
db-migrations:
|
|
|
|
|
condition: service_completed_successfully
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
logging:
|
|
|
|
|
driver: "json-file"
|
|
|
|
|
options:
|
|
|
|
|
max-size: "100m"
|
|
|
|
|
max-file: "10"
|