File tree 1 file changed +32
-5
lines changed
1 file changed +32
-5
lines changed Original file line number Diff line number Diff line change 1
1
version : " 3.7"
2
2
services :
3
- datascience-workspace :
3
+
4
+ jupyter :
5
+ container_name : " <project>_jupyter"
4
6
image : jupyter/datascience-notebook:python-3.8.6
5
- environment :
6
- - JUPYTER_TOKEN=password
7
+ restart : " always"
8
+ ports :
9
+ - 8888:8888
10
+ env_file :
11
+ - config/jupyter.env
7
12
volumes :
8
13
- ./:/home/jovyan/work
14
+
15
+ postgres :
16
+ container_name : " <project>_postgres"
17
+ image : postgres:latest
9
18
ports :
10
- - 8888:8888
11
- container_name : datascience-workspace
19
+ - 5454:5432
20
+ env_file :
21
+ - config/postgres.env
22
+ volumes :
23
+ - shared/:/var/lib/postgresql/data
24
+ restart : " always"
25
+
26
+ pgadmin4 :
27
+ container_name : " <project>_pgadmin"
28
+ image : dpage/pgadmin4
29
+ ports :
30
+ - 5050:80
31
+ env_file :
32
+ - config/pgadmin.env
33
+ volumes :
34
+ - shared:/root/.pgadmin
35
+ restart : " always"
36
+
37
+ volumes :
38
+ shared :
You can’t perform that action at this time.
0 commit comments