update readme

This commit is contained in:
Akbar Rahman 2024-01-26 01:44:51 +00:00
parent 7b2ea2a93f
commit 45945732c9
Signed by: alvierahman90
GPG Key ID: 6217899F07CA2BDF
2 changed files with 16 additions and 32 deletions

View File

@ -1,32 +0,0 @@
version: '3.9'
services:
web:
hostname: heartbeats-web
build:
context: .
dockerfile: ./web/Dockerfile
restart: unless-stopped
ports:
- 8464:80
environment:
- CLIENT_ID=${CLIENT_ID}
- CLIENT_SECRET=${CLIENT_SECRET}
- BASE_URL=http://localhost:8464
redis:
hostname: heartbeats-redis
image: redis
restart: unless-stopped
volumes:
- './redis-data:/data'
populater:
hostname: heartbeats-populater
build:
context: .
dockerfile: ./populater/Dockerfile
restart: unless-stopped
environment:
- CLIENT_ID=${CLIENT_ID}
- CLIENT_SECRET=${CLIENT_SECRET}

16
readme.md Normal file
View File

@ -0,0 +1,16 @@
# :musical_note: heartbeats :saxophone:
> Maintain a (potentially) public list of your recently liked songs so people know how cool you are
# Setup
0. Create a spotify developer account and create a new app
0. Create a `.env` file with your spotify secrets:
```
CLIENT_ID=<client_id>
CLIENT_SECRET=<client_secret>
```
0. Run `docker compose up -d` to start