Server deployment
Requirements
- Docker with the compose plugin. To install the latest Docker, you can use this script: https://get.docker.com
- GNU Make (on Linux and MacOS)
- If you use a stand-alone
docker-compose
script instead of the compose plugin, make sure to usedocker-compose
whereverdocker compose
is used in this tutorial. - For production, using Linux is highly recommended. However, for evaluation purposes, Windows with WSL (Windows Subsystem for Linux) can be used.
Installation
- Windows
- Linux
- Mac
- Clone ayon-docker repository to your local machine.
- Tweak the
docker-compose.yml
file according to your requirements. - You may use the
.env
file to set environment variables. - Manually install addons to the
addons
directory or automatically install later on (recommended). - Modify the default settings in the
settings/template.json
file (see provisioning page). - Run the stack using
docker compose up -d
- Run
make setup
- Once the setup is complete, navigate to http://localhost:5000/
- If you haven't used
template.json
file to create a user, you will be prompted to create one now.
- Clone ayon-docker repository to your local machine.
- Tweak the
docker-compose.yml
file according to your requirements. - You may use the
.env
file to set environment variables. - Comment-out or delete the
- "/etc/localtime:/etc/localtime:ro"
line from thedocker-compose.yml
file. - Manually install addons to the
addons
directory or automatically install later on (recommended). - Modify the default settings in the
settings/template.json
file (see provisioning page). - Run the stack using
docker compose up -d
- Run
manage.ps1 setup
to set up the server. If you get a permission error, you may need to set your execution policy toRemoteSigned
by runningSet-ExecutionPolicy RemoteSigned
in PowerShell stackoverflow. - Once the setup is complete, navigate to http://localhost:5000/ in your web browser and log in as
admin/admin
.
- Clone ayon-docker repository to your local machine.
- Tweak the
docker-compose.yml
file according to your requirements. - You may use the
.env
file to set environment variables. - Manually install addons to the
addons
directory or automatically install later on (recommended). - Modify the default settings in the
settings/template.json
file (see provisioning page). - Run the stack using
docker compose up -d
- Run
make setup
- Once the setup is complete, navigate to http://localhost:5000/ in your web browser and log in as
admin/admin
.
Updates
If you are using our official docker images and docker compose for AYON server deployment, updating is as easy as
docker pull ynput/ayon:latest #replace with corresponding image version if you don't want latest
docker compose up -d --build