mirror of
https://git.asonix.dog/asonix/background-jobs.git
synced 2024-11-25 13:30:59 +00:00
15 lines
310 B
YAML
15 lines
310 B
YAML
|
version: '3.3'
|
||
|
|
||
|
services:
|
||
|
postgres:
|
||
|
image: postgres:15-alpine
|
||
|
ports:
|
||
|
- "5432:5432"
|
||
|
environment:
|
||
|
- PGDATA=/var/lib/postgresql/data
|
||
|
- POSTGRES_DB=db
|
||
|
- POSTGRES_USER=postgres
|
||
|
- POSTGRES_PASSWORD=postgres
|
||
|
volumes:
|
||
|
- ./storage/postgres:/var/lib/postgresql/data
|