Docker

Single container version

Create network on Docker Engine

$ docker network create some-network

Start filingbox-team-single container

$ docker run -d --name filingbox-team-single \
--network some-network \
--restart always \
-v storage:/var/opt/filingbox/team \
-v logs:/var/log/filingbox/team \
-v keys:/fbteam_key \
-v database:/var/lib/mysql \
-p 10080:10080
filingbox/filingbox-team-single:latest

How to check if your FilingBox Team is working

You can check if your FilingBox Team is working after running a container by the following command.

$ docker logs -f filingbox-team-single

Multi-container version

Start filingbox-team database container

$ docker run -d --name database \
    --network some-network \
    --restart always \
    -v database_volume:/var/lib/mysql \
    -e MARIADB_ROOT_PASSWORD=example_root_password \
    -e MARIADB_USER=example_user \
    -e MARIADB_PASSWORD=example_user_password \
    filingbox/filingbox-team-db:latest

Start filingbox-team container

$ docker run -d --name server \
    --network some-network \
    --restart always \
    -v logs_volume:/fbteam_logs \
    -v storage_volume:/fbteam_storage \
    -v key_volume:/fbteam_key \
    -e DB_USER=example_user \
    -e DB_PASSWORD=example_user_password \
    -e DB_IP=database \
    -p 10080:10080 \
    filingbox/filingbox-team:latest

Create network on Docker Engine

$ docker network create some-network

Start filingbox-team-db container

$ docker run -d --name database \
    --network some-network \
    --restart always \
    -v database_volume:/var/lib/mysql \
    -e MARIADB_ROOT_PASSWORD=example_root_password \
    -e MARIADB_USER=example_user \
    -e MARIADB_PASSWORD=example_user_password \
    filingbox/filingbox-team-db:latest

Start filingbox-team container

$ docker run -d --name server \
    --network some-network \
    --restart always \
    -v logs_volume:/fbteam_logs \
    -v storage_volume:/fbteam_storage \
    -v key_volume:/fbteam_key \
    -e DB_USER=example_user \
    -e DB_PASSWORD=example_user_password \
    -e DB_IP=database \
    -p 10080:10080 \
    filingbox/filingbox-team:latest
Have more questions? Submit a request