db for home assistant
master
This commit is contained in:
parent
03c09950ea
commit
6c13bb754c
18
home-assistant/home-assistant.yaml
Normal file
18
home-assistant/home-assistant.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
version: '3.4'
|
||||
services:
|
||||
database:
|
||||
image: postgres:12
|
||||
volumes:
|
||||
- dbdata:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_USER=${DBUSER}
|
||||
- POSTGRES_PASSWORD=${DBPASS}
|
||||
- POSTGRES_DB=${DBUSER}
|
||||
- TZ=Europe/Warsaw
|
||||
|
||||
volumes:
|
||||
dbdata:
|
||||
|
||||
### Environment variables
|
||||
# DBUSER
|
||||
# DBPASS
|
||||
Loading…
Reference in New Issue
Block a user