034a22bd30
Deploy app frontend / app frontend (push) Successful in 2m3s
Deploy service couchdb / service couchdb (push) Successful in 26s
Deploy db-migrations / db-migrations (push) Successful in 1m30s
Deploy service message-delivery-method-web-push / service message-delivery-method-web-push (push) Successful in 1m30s
Deploy service tg-bot / service tg-bot (push) Successful in 1m23s
93 lines
2.7 KiB
YAML
93 lines
2.7 KiB
YAML
volumes:
|
|
couchdb_data:
|
|
db_migrations_data:
|
|
|
|
services:
|
|
couchdb:
|
|
build: services/couchdb
|
|
image: hereconnect/service-couchdb:${COUCHDB_TAG:-latest}
|
|
ports:
|
|
- "127.0.0.1:${COUCHDB_PORT:-5984}:5984"
|
|
volumes:
|
|
- couchdb_data:/opt/couchdb/data
|
|
environment:
|
|
- COUCHDB_USER=${COUCHDB_USER}
|
|
- COUCHDB_PASSWORD=${COUCHDB_PASSWORD}
|
|
- COUCHDB_SECRET=${COUCHDB_SECRET:-}
|
|
restart: unless-stopped
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "100m"
|
|
max-file: "10"
|
|
|
|
db-migrations:
|
|
image: hereconnect/service-db-migrations:${DB_MIGRATIONS_TAG:-latest}
|
|
build:
|
|
context: build/service-db-migrations
|
|
dockerfile: ../../services/db-migrations/Dockerfile
|
|
volumes:
|
|
- db_migrations_data:/opt/db-migrations/data
|
|
environment:
|
|
- API_URL=http://${COUCHDB_USER}:${COUCHDB_PASSWORD}@couchdb:5984
|
|
depends_on:
|
|
couchdb:
|
|
condition: service_healthy
|
|
restart: no
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "1"
|
|
|
|
message-delivery-method-web-push:
|
|
image: hereconnect/service-message-delivery-method-web-push:${MESSAGE_DELIVERY_METHOD_WEB_PUSH_TAG:-latest}
|
|
build:
|
|
context: build/service-message-delivery-method-web-push
|
|
dockerfile: ../../services/message-delivery-method-web-push/Dockerfile
|
|
environment:
|
|
- API_URL=http://${COUCHDB_USER}:${COUCHDB_PASSWORD}@couchdb:5984
|
|
- VAPID_SUBJECT=${VAPID_SUBJECT:-}
|
|
- GCM_API_KEY=${GCM_API_KEY:-}
|
|
- HEARTBEAT_INTERVAL=${HEARTBEAT_INTERVAL:-30000}
|
|
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"
|
|
|
|
tg-bot:
|
|
image: hereconnect/service-tg-bot:${TG_BOT_TAG:-latest}
|
|
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:-}
|
|
- BOT_WEBHOOK_URL=${BOT_WEBHOOK_URL:-}
|
|
- BOT_USE_CHANGES_DB_UPDATES=${BOT_USE_CHANGES_DB_UPDATES:-}
|
|
- READ_BASE_URL=${READ_BASE_URL:-}
|
|
- APP_BASE_URL=${APP_BASE_URL:-}
|
|
- HEARTBEAT_INTERVAL=${HEARTBEAT_INTERVAL:-30000}
|
|
- DEBUG=${TG_BOT_DEBUG:-}
|
|
- PUBLIC_API_URL=${PUBLIC_API_URL:-}
|
|
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"
|