We advise you to use this docker images in a docker-compose environment, especially for the API one which need other components:
- PostgreSQL >= 13
- Webserver (Caddy, NGINX, Apache, etc.)
sh publish-api.shPull container:
docker pull ghcr.io/getaux/api:latestRun api:
docker run --name auctionx-api \
--env APP_ENV=prod \
--env DATABASE_URL="postgresql://user:[email protected]:5432/database_name?serverVersion=13&charset=utf8" \
--env SERVER_NAME=api.yourdomain.tld \
--env IMX_API_ENV=prod \
--env IMX_ESCROW_WALLET=public_key_of_your_escrow_wallet \
--env BUS_API_KEY=api_key_for_you_worker \
-it ghcr.io/getaux/api;Create database on your postgresql:
docker exec -it auctionx-api console doctrine:database:createCreate database schema:
docker exec -it auctionx-api console doctrine:migrations:migratesh publish-worker.shPull container:
docker pull ghcr.io/getaux/worker:latestSetup worker and setup credentials:
docker run --name auctionx-worker -v ~/.auctionx:/srv/app/.auctionx -it ghcr.io/getaux/workerRun worker with auto-restart to process messages:
docker run --name auctionx-worker -d --restart unless-stopped -v ~/.auctionx:/srv/app/.auctionx ghcr.io/getaux/workerLicensed under the terms of the MIT License.
