-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (35 loc) · 873 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
38 lines (35 loc) · 873 Bytes
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
services:
postgres:
image: postgres:16-alpine
container_name: folio-postgres
environment:
- POSTGRES_DB=folio
- POSTGRES_USER=folio
- POSTGRES_PASSWORD=folio
ports:
- "5432:5432"
volumes:
- folio-postgres-data:/var/lib/postgresql/data
- ./docker/postgres/init:/docker-entrypoint-initdb.d
restart: unless-stopped
pgadmin:
image: dpage/pgadmin4:8
container_name: folio-pgadmin
environment:
- PGADMIN_DEFAULT_EMAIL=admin@folio.com
- PGADMIN_DEFAULT_PASSWORD=admin
- PGADMIN_CONFIG_SERVER_MODE=False
ports:
- "5050:80"
depends_on:
- postgres
restart: unless-stopped
mailhog:
image: mailhog/mailhog:latest
container_name: folio-mailhog
ports:
- "1025:1025"
- "8025:8025"
restart: unless-stopped
volumes:
folio-postgres-data: