-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
42 lines (37 loc) · 838 Bytes
/
Copy pathdocker-compose.dev.yml
File metadata and controls
42 lines (37 loc) · 838 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
39
40
41
42
version: '3.5'
services:
sboard.postgres:
image: postgres:14-alpine
container_name: sboard.postgres
environment:
POSTGRES_USER: admin
POSTGRES_PASSWORD: test
POSTGRES_DB: sboard
ports:
- 5432:5432
volumes:
- sboard.postgres:/var/lib/postgresql/data
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U admin -d sboard" ]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s
networks:
- sboard
sboard.pgadmin:
image: dpage/pgadmin4
container_name: sboard.pgadmin
environment:
PGADMIN_DEFAULT_EMAIL: "admin@mail.com"
PGADMIN_DEFAULT_PASSWORD: "test"
PGADMIN_CONFIG_SERVER_MODE: "False"
ports:
- 8082:80
networks:
- sboard
volumes:
sboard.postgres:
networks:
sboard:
driver: bridge