This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
bucde
/
docker_postgres
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
feat: add compose file
master
bucde
3 years ago
parent
c26e124336
commit
155d52382e
1 changed files
with
15 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+15
-0
docker-compose.yml
+ 15
- 0
docker-compose.yml
View File
@ -0,0 +1,15 @@
version
:
"3.4"
services:
postgres:
image
:
postgres:13.4
restart
:
unless-stopped
ports:
-
<host-ip-address>:5432:5432
volumes:
-
pgdata:/var/lib/postgresql/data
environment:
POSTGRES_USER
:
<user>
POSTGRES_PASSWORD
:
<password>
volumes:
pgdata:
Write
Preview
Loading…
Cancel
Save