-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (37 loc) · 794 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (37 loc) · 794 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.7'
services:
postgres:
image: postgres:latest
restart: always
environment:
POSTGRES_USER: jefrydco
POSTGRES_PASSWORD: admin123
POSTGRES_DB: ayo-rek
ports:
- 5432:5432
networks:
- ayo-rek
volumes:
- ./docker/postgres:/var/lib/postgresql/data
pgadmin4:
image: dpage/pgadmin4:latest
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: admin123
ports:
- 8080:80
networks:
- ayo-rek
redis:
image: redis:latest
restart: always
ports:
- 6379:6379
networks:
- ayo-rek
volumes:
- ./docker/redis:/data
entrypoint: redis-server --appendonly yes --requirepass admin123
networks:
ayo-rek: