add db.yml docker compose file
This commit is contained in:
parent
ee028ad4ed
commit
29ad23cf5a
20
db.yml
Normal file
20
db.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
version: '3.6'
|
||||||
|
|
||||||
|
networks:
|
||||||
|
gitea:
|
||||||
|
external: false
|
||||||
|
|
||||||
|
services:
|
||||||
|
db:
|
||||||
|
image: postgres:9.6
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: user
|
||||||
|
POSTGRES_PASSWORD: password
|
||||||
|
POSTGRES_DB: db
|
||||||
|
volumes:
|
||||||
|
- /mnt/HC_Volume_100342428/Post:/var/lib/postgresql/data
|
||||||
|
networks:
|
||||||
|
- gitea
|
||||||
|
ports:
|
||||||
|
- '5432:5432'
|
Loading…
Reference in New Issue
Block a user