-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
47 lines (44 loc) · 954 Bytes
/
docker-compose.yaml
File metadata and controls
47 lines (44 loc) · 954 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
43
44
45
46
47
version: '2.1'
services:
amore:
build: .
env_file:
- postgres_config.env
links:
- db
depends_on:
db:
condition: service_healthy
command: ./start.sh
volumes:
- amore_log:/usr/app/data
db:
image: postgres:latest
env_file:
- postgres_config.env
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
volumes:
- amore_db:/var/lib/postgresql/data
ports:
- 5432:5432
pgadmin:
container_name: pgadmin4_container
image: dpage/pgadmin4:latest
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: cfkfl1245@gmail.com
PGADMIN_DEFAULT_PASSWORD: AeIsFrAe1999#amore
PGADMIN_LISTEN_PORT: 80
# PGADMIN_CONFIG_DEFAULT_SERVER: "0.0.0.0"
ports:
- "8080:80"
volumes:
- pgadmin-data:/var/lib/pgadmin
volumes:
amore_db:
amore_log:
pgadmin-data: