File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,24 @@ version: '3.2'
2
2
3
3
services :
4
4
5
+ # ================================================================================================
6
+ # POSTGRESQL
7
+ # ================================================================================================
8
+ postgresql :
9
+ restart : always
10
+ image : dockerframework/postgresql
11
+ ports :
12
+ - " 8119:5432"
13
+ volumes :
14
+ - /etc/localtime:/etc/localtime:ro
15
+ - ./data/postgresql:/var/lib/postgresql # volume for data
16
+ environment :
17
+ - POSTGRES_VERSION=10.2
18
+ - POSTGRES_ROOT_HOST=postgresql # grant user hostmask (optional)
19
+ - POSTGRES_DATABASE=laradock_postgresql # create database (optional)
20
+ - POSTGRES_USER=laradock # grant user name (optional)
21
+ - POSTGRES_PASSWORD=password # grant user password (optional)
22
+
5
23
# ================================================================================================
6
24
# PGADMIN
7
25
# ================================================================================================
You can’t perform that action at this time.
0 commit comments