Add docker-compose with postgres

This commit is contained in:
istarkov committed 2022-11-01 20:00:54 +00:00
1 parent e99fa522eb
commit e60defe22e
1 file changed
+13
+13
View File
@@ -0,0 +1,13 @@
version: '3.1'
services:
db:
image: postgres
restart: always
environment:
# postgresql://user:pass@localhost:5432/webstudio
POSTGRES_PASSWORD: pass
POSTGRES_DB: webstudio
POSTGRES_USER: user
ports:
- ${PGPORT:-5432}:5432