Remove unnecessary couch-init
This commit is contained in:
parent
f70a3d095c
commit
682b0a8401
|
@ -4,5 +4,5 @@ redis-server --requirepass $REDIS_PASSWORD > /dev/stdout 2>&1 &
|
|||
/bbcouch-runner.sh &
|
||||
/minio/minio server ${DATA_DIR}/minio --console-address ":9001" > /dev/stdout 2>&1 &
|
||||
|
||||
echo "Test environment started..."
|
||||
echo "Budibase dependencies started..."
|
||||
sleep infinity
|
|
@ -53,20 +53,6 @@ services:
|
|||
volumes:
|
||||
- couchdb_data:/data
|
||||
|
||||
couch-init:
|
||||
container_name: budi-couchdb-init-dev
|
||||
image: curlimages/curl
|
||||
environment:
|
||||
PUT_CALL: "curl -u ${COUCH_DB_USER}:${COUCH_DB_PASSWORD} -X PUT couchdb-service:5984"
|
||||
depends_on:
|
||||
- couchdb-service
|
||||
command:
|
||||
[
|
||||
"sh",
|
||||
"-c",
|
||||
"sleep 10 && $${PUT_CALL}/_users && $${PUT_CALL}/_replicator; fg;",
|
||||
]
|
||||
|
||||
redis-service:
|
||||
container_name: budi-redis-dev
|
||||
restart: on-failure
|
||||
|
|
Loading…
Reference in New Issue