port puvlished

master
This commit is contained in:
Maciej Krok 2020-03-20 15:57:37 +01:00
parent 6c13bb754c
commit 89b0043bc9

View File

@ -2,6 +2,11 @@ version: '3.4'
services:
database:
image: postgres:12
ports:
- target: 5432
published: ${DBPORT}
protocol: tcp
mode: host
volumes:
- dbdata:/var/lib/postgresql/data
environment:
@ -16,3 +21,4 @@ volumes:
### Environment variables
# DBUSER
# DBPASS
# DBPORT