12 lines
351 B
Plaintext
12 lines
351 B
Plaintext
services:
|
|
db:
|
|
image: "postgres:<%= @postgres_version %>"
|
|
environment:
|
|
- POSTGRES_PASSWORD=<%= @db_secrets['postgres_password'] %>
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
- /opt/sunet-cdn/db/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.dh
|
|
- /opt/sunet-cdn/db/conf:/conf
|
|
volumes:
|
|
postgres_data:
|