13 lines
454 B
Text
13 lines
454 B
Text
|
services:
|
||
|
postgres:
|
||
|
container_name: postgres
|
||
|
image: docker.io/library/postgres:16-alpine
|
||
|
network_mode: pasta:-a,${env['pasta']['postgres']['ipv4']},-a,${env['pasta']['postgres']['ipv6']}
|
||
|
restart: always
|
||
|
user: ${env['users']['postgres']}:${env['users']['postgres']}
|
||
|
env_file: .env.rendered
|
||
|
ports:
|
||
|
- ${env['ports']['postgres']}:5432
|
||
|
volumes:
|
||
|
- ${env['volumes']['postgres']['datadir']}:/var/lib/postgresql/data
|