mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-23 11:27:38 +08:00
Add back in the fixtures
This commit is contained in:
@@ -36,7 +36,7 @@ services:
|
||||
- mongodb
|
||||
- blockstack-api
|
||||
volumes:
|
||||
- "./data/search-api/:/var/blockstack-search"
|
||||
- "./data/search-api:/var/blockstack-search"
|
||||
|
||||
search-api:
|
||||
build:
|
||||
@@ -58,7 +58,7 @@ services:
|
||||
- mongodb
|
||||
- blockstack-api
|
||||
volumes:
|
||||
- "./data/search-api/:/var/blockstack-search"
|
||||
- "./data/search-api:/var/blockstack-search"
|
||||
|
||||
networks:
|
||||
api: null
|
||||
|
||||
@@ -28,6 +28,10 @@ WORKDIR /src/blockstack/api
|
||||
COPY api/deployment/crontab /etc/cron.d/search-index-cron
|
||||
COPY api/deployment/client.ini /root/.blockstack/client.ini
|
||||
|
||||
# Add bootstrapping files...
|
||||
RUN cp search/fixtures/blockchain_data.json /var/blockstack-search/blockchain_data.json
|
||||
RUN cp search/fixtures/profile_data.slice.json /var/blockstack-search/profile_data.json
|
||||
|
||||
# Give execution rights on the cron job
|
||||
RUN chmod 0644 /etc/cron.d/search-index-cron
|
||||
|
||||
|
||||
Reference in New Issue
Block a user