- Docker installed on your system.
- Google OAuth credentials (for authentication).
Follow these steps to set up Tapiz using Docker:
-
Copy the Example Environment File
Create a copy of the example environment file.env.example
and name it.env
:cp .env.example .env
-
Use the Default Environment Variables (Optional)
The default settings in the.env
file are suitable for local development using Docker. Specifically, the default PostgreSQL credentials are:- Database User:
tapiz_user
- Database Password:
tapiz_password
These defaults can be used in a local development environment, but it is strongly recommended to change them before deploying to production.
- Database User:
-
Set Up Google Authentication Credentials
Obtain your Google OAuth credentials by following this guide.
Make sure the redirect URL is set tohttp://localhost:8000/api/auth/callback
.
Enter theGOOGLE_CLIENT_ID
andGOOGLE_CLIENT_SECRET
into the.env
file under the appropriate fields. -
Build and Run the Docker Containers
After configuring your environment variables, build and start the Docker containers by running:docker-compose up -d
-
Access the Application
Your Tapiz application will be available at http://localhost:4300.