ln -s devel.yaml docker-compose.ovedrride.yamlln -s commpon.yaml docker-compose.yaml
In the .docker/ folder rename all the *.example.
In auth_opt.env:
- Put the required algorithm (HS256 is the preferred)
- Put the time for the access token to expire
- Generate a new FastAPI secret key Here is the snippet
openssl rand -hex 32
In pg_conf.env:
- Put the admin name
- Put the admin passwd
- Put the preferred db name
- Compose the postresql connection string like
the db-host-name should be the name of the docker service
postgresql://<name>:<passwd>@<db-host-name>/<db-name>
In the core folder of the FastAPI project
find the alembic.ini.example and remove the .example.
To find more check alembic guide
For the frontend is advisable to install the node_modules
locally even tho there's the docker container.
For the last bit of setup just run
docker compose pull <service-you-want-to-pull>docker compose up -d <services>
Note
This project has renovate implementation
All rights reserved