You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trial/README.md

829 B

Trial project

Make sure you have docker with docker compose installed.

Copy .env.example file and fill in necessary env vars such as hostname or email (that one needed for self-signed cert for Caddy).

You may want to change Postgres port, username and password - use corresponding env vars in env.

Default ports are rewritten in docker-compose.yml and in ./docker/caddy/etc/Caddyfile. HTTP port is 8000 and HTTPS port is 8443. In order to change listening ports of your desire please make sure you changed them in both places.

To access the test you will need to write the server name in your /etc/hosts file. E.g.

~ #> echo "127.0.0.1 trial" >> /etc/hosts

Run docker compose up -d

To access the test then just simply visit https://trial:8443 (you need to agree with self-signed cert).