Created
September 4, 2017 16:40
-
-
Save travist/4cb71b30b0b7d58779666697d5959048 to your computer and use it in GitHub Desktop.
Form.io Docker Files Deployment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker network create formio; | |
docker run -itd \ | |
--name minio \ | |
--network formio \ | |
-p 9000:9000 \ | |
minio/minio server /data; | |
docker run -itd \ | |
-e "FORMIO_PROJECT=[FORM.IO PROJECT ID]" \ | |
-e "FORMIO_PROJECT_TOKEN=[FORM.IO PROJECT TOKEN]" \ | |
-e "FORMIO_PDF_PROJECT=[FORM.IO PDF PROJECT URL]" \ | |
-e "FORMIO_PDF_APIKEY=[FORM.IO PDF PROJECT API KEY]" \ | |
-e "FORMIO_S3_SERVER=localhost" \ | |
-e "FORMIO_S3_BUCKET=formio" \ | |
-e "FORMIO_S3_KEY=[MINIO_KEY]" \ | |
-e "FORMIO_S3_SECRET=[MINIO_SECRET]" \ | |
--network formio \ | |
--name formio-files-core \ | |
-p 4005:4005 \ | |
formio/formio-files-core; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment