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 11version : ' 3.7'
22
33services :
4+
45 db :
56 container_name : paws-compose-db
67 ports :
78 - " 5432:5432"
89 image : postgres:15.4-alpine
910 volumes :
10- - postgres :/var/lib/postgresql /data
11+ - postgres15 :/var/lib/postgresql15 /data
1112 environment :
1213 POSTGRES_DB : paws
1314 POSTGRES_PASSWORD : thispasswordisverysecure
15+ # command: ["postgres", "-c", "log_statement=all"]
16+
1417
1518 server :
1619 container_name : paws-compose-server
@@ -51,6 +54,7 @@ services:
5154# using named volumes fixs a windows docker bug relating to container permissions
5255# https://stackoverflow.com/questions/49148754/docker-container-shuts-down-giving-data-directory-has-wrong-ownership-error-wh
5356volumes :
54- postgres :
57+ postgres15 :
5558 src_archive :
5659 server_logs :
60+
You can’t perform that action at this time.
0 commit comments