File tree Expand file tree Collapse file tree 2 files changed +56
-0
lines changed Expand file tree Collapse file tree 2 files changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ # SilverPeas with PostGreSQL
2
+ # Access via http://localhost:8080/silverpeas
3
+
4
+ version : ' 3'
5
+ services :
6
+ silverpeas :
7
+ image : silverpeas
8
+ networks :
9
+ - network
10
+ container_name : silverpeas
11
+ restart : always
12
+ ports :
13
+ - 8080:8000
14
+ links :
15
+ - postgresql:database
16
+ depends_on :
17
+ - postgresql
18
+ environment :
19
+ DB_SERVER : ${SILVERPEAS_DB_SERVER}
20
+ DB_NAME : ${SILVERPEAS_DB_NAME}
21
+ DB_USER : ${SILVERPEAS_DB_USER}
22
+ DB_PASSWORD : ${SILVERPEAS_DB_PASSWORD}
23
+ volumes :
24
+ - silverpeas-log:/opt/silverpeas/log
25
+ - silverpeas-data:/opt/silverpeas/data
26
+ postgresql :
27
+ image : postgres
28
+ networks :
29
+ - network
30
+ container_name : postgresql
31
+ restart : always
32
+ environment :
33
+ POSTGRES_PASSWORD : ${SILVERPEAS_POSTGRES_PASSWORD}
34
+ POSTGRES_USER : ${SILVERPEAS_POSTGRES_USER}
35
+ POSTGRES_DB : ${SILVERPEAS_POSTGRES_DB}
36
+ volumes :
37
+ - postgresql-data:/var/lib/postgresql/data
38
+
39
+ networks :
40
+ network :
41
+ driver : bridge
42
+
43
+ volumes :
44
+ postgresql-data :
45
+ silverpeas-log :
46
+ silverpeas-data :
Original file line number Diff line number Diff line change
1
+ SILVERPEAS_USERNAME = SilverAdmin
2
+ SILVERPEAS_PASSWORD = SilverAdmin
3
+ SILVERPEAS_DB_SERVER = database
4
+ SILVERPEAS_DB_NAME = Silverpeas
5
+ SILVERPEAS_DB_USER = silverpeas
6
+ SILVERPEAS_DB_PASSWORD = thesilverpeaspassword
7
+
8
+ SILVERPEAS_POSTGRES_PASSWORD = thesilverpeaspassword
9
+ SILVERPEAS_POSTGRES_USER = silverpeas
10
+ SILVERPEAS_POSTGRES_DB = Silverpeas
You can’t perform that action at this time.
0 commit comments