24 lines
498 B
Plaintext
24 lines
498 B
Plaintext
[Unit]
|
|
Description=Planka - DB
|
|
|
|
[Container]
|
|
Pod=planka.pod
|
|
ContainerName=planka-db
|
|
Image=docker.io/postgres:16-alpine
|
|
|
|
# Environment=POSTGRES_PASSWORD=
|
|
# Environment=POSTGRES_USER=
|
|
# Environment=POSTGRES_DB=
|
|
EnvironmentFile=/mnt/data/containers/planka/.env.planka-db
|
|
|
|
Volume=/mnt/data/containers/planka/postgresql:/var/lib/postgresql/data
|
|
Volume=/etc/timezone:/etc/timezone:ro
|
|
Volume=/etc/localtime:/etc/localtime:ro
|
|
|
|
[Service]
|
|
Restart=always
|
|
TimeoutStartSec=300
|
|
|
|
[Install]
|
|
WantedBy=default.target
|