Skip to content

Commit

Permalink
chore: docker-compose.dev.yaml
Browse files Browse the repository at this point in the history
cp .env.example .env

make setup
docker compose -f docker-compose.dev.yaml up
make db
make run

docker compose -f docker-compose.dev.yaml down --volumes
  • Loading branch information
milesibastos committed Aug 21, 2024
1 parent 4a103a4 commit f0a1f37
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions docker-compose.dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
version: '3'

services:
postgres:
image: postgres:12
restart: always
ports:
- '5432:5432'
volumes:
- postgres:/data/postgres
environment:
- POSTGRES_DB=chatwoot
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=1q2w3e4r5t6y

redis:
image: redis:alpine
restart: always
command: ["sh", "-c", "redis-server --requirepass \"$REDIS_PASSWORD\""]
env_file: .env
volumes:
- redis:/data/redis
ports:
- '6379:6379'

mailhog:
image: mailhog/mailhog
ports:
- 1025:1025
- 8025:8025

volumes:
postgres:
redis:

0 comments on commit f0a1f37

Please sign in to comment.