mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-19 19:13:17 +03:00
29 lines
500 B
Plaintext
29 lines
500 B
Plaintext
name: affine_dev_services
|
|
services:
|
|
postgres:
|
|
env_file:
|
|
- .env
|
|
image: postgres:16
|
|
ports:
|
|
- 5432:5432
|
|
environment:
|
|
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
|
POSTGRES_USER: ${DB_USERNAME}
|
|
POSTGRES_DB: ${DB_DATABASE_NAME}
|
|
volumes:
|
|
- ${DATABASE_LOCATION}:/var/lib/postgresql/data
|
|
|
|
redis:
|
|
image: redis:latest
|
|
ports:
|
|
- 6379:6379
|
|
|
|
mailhog:
|
|
image: mailhog/mailhog:latest
|
|
ports:
|
|
- 1025:1025
|
|
- 8025:8025
|
|
|
|
networks:
|
|
dev:
|