This repository has been archived by the owner on Nov 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Docker image
Marx J. Moura edited this page Sep 29, 2019
·
13 revisions
Replace the word VERSION
with the desired version of the Docker image and make appropriate changes to the environment variables to match your use case.
docker container run -d \
--name gallery-api \
--hostname gallery-api \
-p 5020:80 \
-e ASPNETCORE_AllowedHosts="*" \
-e ASPNETCORE_AmazonS3__AccessKeyId="IAM-Programmatic-Access-Key-ID" \
-e ASPNETCORE_AmazonS3__SecretAccessKey="IAM-Programmatic-Secret-Access-Key" \
-e ASPNETCORE_AmazonS3__BucketName="Bucket-Name" \
-e ASPNETCORE_AmazonS3__Region="Bucket-Region" \
-e ASPNETCORE_JWT__Issuer="http://api.example/" \
-e ASPNETCORE_JWT__Audience="http://client.example/" \
-e ASPNETCORE_JWT__Secret="Strong-Secret" \
-e ASPNETCORE_Logging_LogLevel__Default="Warning" \
-e ASPNETCORE_RabbitMQ__Host="amqp://user:pass@hostname:port/vhost" \
-e ASPNETCORE_RabbitMQ__Exchange="storefront-community.exchange" \
-e ASPNETCORE_RabbitMQ__Queue="gallery-api.queue" \
-e ASPNETCORE_Sentry__Dsn="https://[email protected]/project-id" \
-e ASPNETCORE_Sentry__IncludeRequestPayload="true" \
-e ASPNETCORE_Sentry__IncludeActivityData="true" \
-e ASPNETCORE_Sentry_Logging__MinimumBreadcrumbLevel="Warning" \
storefront.community/api/gallery:VERSION