Code Monkey home page Code Monkey logo

fusio-docker's Introduction

Fusio docker container

Official docker container of Fusio. More information about Fusio at: https://www.fusio-project.org

Usage

The most simple usage is to use the provided docker-compose.yml file. Use the following command to setup a mysql and fusio container.

docker-compose up -d

NOTE: You MUST change the default passwords which are defined in the docker-compose.yml file before running this container on the internet. Also by default the hostname is api.fusio.cloud but you can adjust this via the env settings.

Worker

Besides the database we set up also different worker instances to enable the usage of different programming languages. If you dont need support for these programming languages you can disable them in the configuration. Fusio will also work if these instances are not available.

Certificate

The image contains a script to automatically obtain a SSL certificate for the domain. By default this feature ist deactivated, to activate this you need to set the env FUSIO_CERTBOT to 1, then after start the container will try to obtain a certificate. Note this only works in case you container is reachable on the internet.

Run

If you dont want to use the docker-compose command you can create and link the needed containers also manually:

Mysql

$ docker run -d --name mysql_fusio \
  -e "MYSQL_ROOT_PASSWORD=61ad6c605975" \
  -e "MYSQL_USER=fusio" \
  -e "MYSQL_PASSWORD=61ad6c605975" \
  -e "MYSQL_DATABASE=fusio" \
  mysql:5.7

Fusio

$ docker run -d --name fusio \
  -p 80:80 \
  --link mysql_fusio:db \
  -e "FUSIO_PROJECT_KEY=42eec18ffdbffc9fda6110dcc705d6ce" \
  -e "FUSIO_DOMAIN=api.fusio.cloud" \
  -e "FUSIO_HOST=api.fusio.cloud" \
  -e "FUSIO_URL=http://api.fusio.cloud" \
  -e "FUSIO_APPS_URL=http://api.fusio.cloud/apps" \
  -e "FUSIO_ENV=prod" \
  -e "FUSIO_DB_NAME=fusio" \
  -e "FUSIO_DB_USER=fusio" \
  -e "FUSIO_DB_PW=61ad6c605975" \
  -e "FUSIO_DB_HOST=mysql_fusio" \
  -e "FUSIO_BACKEND_USER=demo" \
  -e "[email protected]" \
  -e "FUSIO_BACKEND_PW=61ad6c605975" \
  fusio/fusio

fusio-docker's People

Contributors

chriskapp avatar tobiassoltermann avatar arejae avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.