generated from pieceowater-dev/lotof.sample.svc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
44 lines (40 loc) · 955 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
43
44
services:
# Uncomment this if you need Redis
# redis:
# image: redis:latest
# container_name: pieceoredis
# ports:
# - "6379:6379"
# networks:
# - pieceonetwork
postgres:
image: postgres:16
container_name: pieceopostgres
environment:
POSTGRES_USER: pieceouser
POSTGRES_PASSWORD: pieceopassword
volumes:
- pieceopgdata:/var/lib/postgresql/data
ports:
- "5432:5432"
networks:
- pieceonetwork
pgadmin:
image: dpage/pgadmin4:latest
container_name: pieceopgadmin
environment:
PGADMIN_DEFAULT_EMAIL: pcwt@pcwt.com
PGADMIN_DEFAULT_PASSWORD: pcwt
ports:
- "5431:80"
volumes:
- pieceopgadmindata:/var/lib/pgadmin
depends_on:
- postgres
networks:
- pieceonetwork
volumes:
pieceopgdata:
pieceopgadmindata:
networks:
pieceonetwork: