Improve Self host setup (#30)
* Add self host setup * Improve blunders * Move to bull mq * More changes * Add example code for sending test emails
This commit is contained in:
29
docker/dev/compose.yml
Normal file
29
docker/dev/compose.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
name: unsend-dev
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:16
|
||||
container_name: unsend-db-dev
|
||||
restart: always
|
||||
environment:
|
||||
- POSTGRES_USER=unsend
|
||||
- POSTGRES_PASSWORD=password
|
||||
- POSTGRES_DB=unsend
|
||||
volumes:
|
||||
- database:/var/lib/postgresql/data
|
||||
ports:
|
||||
- "54320:5432"
|
||||
|
||||
redis:
|
||||
image: redis:7
|
||||
container_name: unsend-redis-dev
|
||||
restart: always
|
||||
ports:
|
||||
- "6379:6379"
|
||||
volumes:
|
||||
- redis:/data
|
||||
command: ["redis-server", "--maxmemory-policy", "noeviction"]
|
||||
|
||||
volumes:
|
||||
database:
|
||||
redis:
|
Reference in New Issue
Block a user