File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ export DOCSRS_TOOLCHAIN=nightly
8
8
export AWS_ACCESS_KEY_ID = cratesfyi
9
9
export AWS_SECRET_ACCESS_KEY = secret_key
10
10
export S3_ENDPOINT = http://localhost:9000
11
+ export DOCSRS_S3_STATIC_ROOT_PATH = http://localhost:9000/rust-docs-rs
11
12
export DOCSRS_INCLUDE_DEFAULT_TARGETS = false
12
13
export DOCSRS_DOCKER_IMAGE = ghcr.io/rust-lang/crates-build-env/linux-micro
13
14
export SENTRY_ENVIRONMENT = dev
Original file line number Diff line number Diff line change @@ -69,6 +69,8 @@ docker-compose up -d db s3
69
69
# anything that doesn't run via docker-compose needs the settings defined in
70
70
# .env. Either via `. ./.env` as below, or via any dotenv shell integration.
71
71
. ./.env
72
+ # allow downloads from the s3 container to support the /crate/.../download endpoint
73
+ mcli policy set download docsrs/rust-docs-rs
72
74
# Setup the database you just created
73
75
cargo run -- database migrate
74
76
# Build a sample crate to make sure it works
You can’t perform that action at this time.
0 commit comments