- PHP >= 8.1
- Composer >= 2.3
- PostgreSQL >= 13
- Install Docker https://docs.docker.com/get-docker/
git clone [email protected]:getaux/api.git
composer install
cp .env .env.local # then edit .env.local file
docker-compose build --no-cache --pull
docker-compose up -d
- Visit https://api.auctionx.localhost/
If you have a TLS trust issues, you can copy the self-signed certificate from Caddy and add it to the trusted certificates:
# Mac
docker cp $(docker-compose ps -q caddy):/data/caddy/pki/authorities/local/root.crt /tmp/root.crt && sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain /tmp/root.crt
# Linux
docker cp $(docker-compose ps -q caddy):/data/caddy/pki/authorities/local/root.crt /usr/local/share/ca-certificates/root.crt && sudo update-ca-certificates
Licensed under the terms of the MIT License.