https://github.com/devvspaces/aws-vpc-provisioner
https://github.com/devvspaces/aws-vpc-provisioner
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/devvspaces/aws-vpc-provisioner
- Owner: devvspaces
- Created: 2024-03-10T03:18:37.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-26T21:10:53.000Z (over 2 years ago)
- Last Synced: 2025-08-30T17:57:06.425Z (11 months ago)
- Language: Python
- Size: 27.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker Compose Example
Using docker to start and configure the applications.
## Requirements
- Docker
## Installation
1. Git clone or download the zip repository.
2. Update the .env file with your AWS credentials.
```bash
cp env.example .env
```
## Running the applications
```bash
docker compose up --build --detach
```
## How It Works
The `docker-compose.yml` file defines the services that make up the application. In this case, we have two services: `backend` and `frontend`.
The `backend` service is built using the `Dockerfile` in the `backend` directory. The `frontend` service is built using the `Dockerfile` in the `frontend` directory.
The `docker-compose.yml` file also defines the environment variables that are passed to the services. The `backend` service requires the `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` environment variables to be set. These are set in the `.env` file available in the `backend` root directory.