- Build the docker image
- Running in a dev environment
- Environment variables
- Contact
- See More
- Contributors
Build everything with this command:
docker build -t ghcr.io/paxo-phone/paxo-site .
Then run it:
docker exec -d ghcr.io/paxo-phone/paxo-site
Don't forget to add all your environment variables !
ℹ️ The project will consider that you have set
NODE_ENV
todevelopment
.
You must prepare the environement first:
yarn install
mkdir tmp
cp .env.example .env # Consider editing it before launching
node ace migration:run
Then you can launch the website with a watchman:
yarn run dev
Variable name | Description |
---|---|
NODE_ENV |
Set to developement or production . |
PORT |
Port to listen on. |
HOST |
Host to listen on. Should be 0.0.0.0 |
APP_KEY |
See AdonisJS documentation |
DRIVE_DISK |
|
SESSION_DRIVER |
|
CACHE_VIEWS |
|
DB_CONNECTION |
See supported databases in AdonisJS docs |
MYSQL_* |
Configuration for MySQL, required if DB_CONNECTION=mysql . See AdonisJS docs |
SMTP_* |
SMTP server configuration, see AdonisJS docs. Not used yet |
ACCESS_ADDRESS |
URL where the server is reachable. Is used to build the Github redirect URI, and should not end with a / |
You can contact us via our Website or our Discord server
See more on paxo.fr