The 01-edu lets-play task from the Java program. Solved Sep 2023.
Demo lets-play.mer.pw
docker compose up
Server will be available on localhost:80.
Variable | Description | Default value |
---|---|---|
JWT_SECRET | JWT secret | secret |
ADMIN_EMAIL | Admin email | admin@localhost |
ADMIN_PASSWORD | Admin password | AdminAdmin |
SERVER_NAME | Server name | localhost |
SSL_CERT | SSL certificate | |
SSL_KEY | SSL key |
Note: run
./gen_env.sh
to generate.env
file with strong random values.
-
Configure the project by editing
.env
file. -
Optional: add your SSL certificate and key to
SSL_CERT
andSSL_KEY
environment variables in.env
file. -
To run the latest stable version of the project, run:
docker compose -f docker-compose.yml -f docker-compose.prod.yml up
- The project is optimized to be deployed
on remote Docker hosts, so
you can specify
DOCKER_HOST
environment variable in.env
file.