Files
hereconnect/docker-compose.yml
T

36 lines
752 B
YAML
Raw Normal View History

2024-11-24 22:45:50 +02:00
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-03 11:49:01 +02:00
- "127.0.0.1:15984: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}
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:
- couchdb
restart: no
2024-12-03 11:49:01 +02:00
volumes:
couchdb_data:
2024-12-03 13:33:37 +02:00
db_migrations_data: