File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
version : ' 3.7'
2
2
3
3
services :
4
+
4
5
db :
5
6
container_name : paws-compose-db
6
7
ports :
7
8
- " 5432:5432"
8
9
image : postgres:15.4-alpine
9
10
volumes :
10
- - postgres :/var/lib/postgresql /data
11
+ - postgres15 :/var/lib/postgresql15 /data
11
12
environment :
12
13
POSTGRES_DB : paws
13
14
POSTGRES_PASSWORD : thispasswordisverysecure
15
+ # command: ["postgres", "-c", "log_statement=all"]
16
+
14
17
15
18
server :
16
19
container_name : paws-compose-server
@@ -51,6 +54,7 @@ services:
51
54
# using named volumes fixs a windows docker bug relating to container permissions
52
55
# https://stackoverflow.com/questions/49148754/docker-container-shuts-down-giving-data-directory-has-wrong-ownership-error-wh
53
56
volumes :
54
- postgres :
57
+ postgres15 :
55
58
src_archive :
56
59
server_logs :
60
+
You can’t perform that action at this time.
0 commit comments