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.
 
 
 
 
 
Denis Ranneft 1816127921
exclude pgdata
2 years ago
app trial app 2 years ago
docker trial app 2 years ago
.env.example trial app 2 years ago
.gitignore exclude pgdata 2 years ago
README.md trial app 2 years ago
docker-compose.yml trial app 2 years ago

README.md

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 "trial 127.0.0.1" >> /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).