-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
42 lines (41 loc) · 952 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: '3.8'
services:
database:
container_name: postgresql
image: postgres
restart: always
platform: linux/arm64/v8
command: sh -c "npx prisma generate && docker-entrypoint.sh postgres"
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: root
POSTGRES_DB: api
ports:
- '5442:5432'
volumes:
- postgres_data:/var/lib/postgresql/data
pgadmin:
container_name: pgadmin4
image: dpage/pgadmin4
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: root
ports:
- '5052:80'
mail:
container_name: mail
image: axllent/mailpit
restart: always
volumes:
- ./data:/data
ports:
- 8022:8025
- 1022:1025
environment:
MP_MAX_MESSAGES: 5000
MP_DATA_FILE: /data/mailpit.db
MP_SMTP_AUTH_ACCEPT_ANY: 1
MP_SMTP_AUTH_ALLOW_INSECURE: 1
volumes:
postgres_data: