init
This commit is contained in:
24
docker-compose.yaml
Normal file
24
docker-compose.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
version: '3.5'
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:12
|
||||
volumes:
|
||||
- data:/var/lib/postgresql/data
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
|
||||
pgadmin:
|
||||
image: dpage/pgadmin4:4
|
||||
ports:
|
||||
- 8090:80
|
||||
volumes:
|
||||
- pgadmin:/var/lib/pgadmin
|
||||
environment:
|
||||
PGADMIN_DEFAULT_EMAIL: postgres
|
||||
PGADMIN_DEFAULT_PASSWORD: postgres
|
||||
|
||||
volumes:
|
||||
data:
|
||||
pgadmin:
|
||||
Reference in New Issue
Block a user