-
Notifications
You must be signed in to change notification settings - Fork 0
/
postgresql.yml
50 lines (44 loc) · 1.01 KB
/
postgresql.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
45
46
47
48
49
50
version: '3.7'
services:
pg-db:
image: postgres
restart: always
container_name: pg-db
hostname: pg-db
environment:
POSTGRES_PASSWORD: P@ssw0rd # the username is postgres
volumes:
- ./databases:/usr/databases
adminer:
image: adminer
hostname: pg-adminer
container_name: pg-adminer
volumes:
- ./databases:/usr/databases
restart: always
ports:
- 8080:8080
jupyter:
image: asami76/allspark:latest
container_name: jupyter
hostname: jupyter
environment:
- PUID=1000
- PGID=1000
volumes:
- ./databases:/home/jovyan/
ports:
- 8888:8888
restart: unless-stopped
pgadmin:
image: dpage/pgadmin4
hostname: pgadmin
container_name: pgadmin
environment:
PGADMIN_DEFAULT_EMAIL: "[email protected]"
PGADMIN_DEFAULT_PASSWORD: "P@ssw0rd"
volumes:
- ./databases:/usr/databases
restart: always
ports:
- "5050:80"