Created
September 25, 2018 16:02
-
-
Save travist/b4e442b94339d9d973612b4df7b2124d to your computer and use it in GitHub Desktop.
On-Premise Deployment Single Server w/ External Mongo
This file contains 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 formio-redis \ | |
--network formio \ | |
--restart unless-stopped \ | |
redis && \ | |
docker run -itd \ | |
-e "FORMIO_FILES_SERVER=http://formio-files:4005" \ | |
-e "PORTAL_SECRET=CHANGEME" \ | |
-e "JWT_SECRET=CHANGEME" \ | |
-e "DB_SECRET=CHANGEME" \ | |
-e "MONGO=mongodb://:@aws-us-east-1-portal.234.dblayer.com:23423/formio?ssl=true" \ | |
-e "PROTOCOL=http" \ | |
--restart unless-stopped \ | |
--network formio \ | |
--name formio-server \ | |
--link formio-files-core:formio-files \ | |
--link formio-redis:redis \ | |
-p 3000:80 \ | |
formio/formio-server && \ | |
docker run -itd \ | |
-e "MINIO_ACCESS_KEY=CHANGEME" \ | |
-e "MINIO_SECRET_KEY=CHANGEME" \ | |
--network formio \ | |
--name formio-minio \ | |
--restart unless-stopped \ | |
-p 9000:9000 \ | |
-v ~/minio/data:/data \ | |
-v ~/minio/config:/root/.minio \ | |
minio/minio server /data && \ | |
docker run -itd \ | |
-e "FORMIO_SERVER=http://formio" \ | |
-e "FORMIO_PROJECT=59b7b78367d7fa2312a57979" \ | |
-e "FORMIO_PROJECT_TOKEN=wi83DYHAieyt1MYRsTYA289MR9UIjM" \ | |
-e "FORMIO_PDF_PROJECT=http://formio/yourproject" \ | |
-e "FORMIO_PDF_APIKEY=is8w9ZRiW8I2TEioY39SJVWeIsO925" \ | |
-e "FORMIO_S3_SERVER=minio" \ | |
-e "FORMIO_S3_PORT=9000" \ | |
-e "FORMIO_S3_BUCKET=formio" \ | |
-e "FORMIO_S3_KEY=CHANGEME" \ | |
-e "FORMIO_S3_SECRET=CHANGEME" \ | |
--network formio \ | |
--link formio-server:formio \ | |
--link formio-minio:minio \ | |
--restart unless-stopped \ | |
--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