1
0
mirror of https://github.com/akpall/akpella.git synced 2026-02-21 16:47:00 +00:00
Files
akpella/files/docker-postgresql.service

17 lines
399 B
Desktop File

[Unit]
Description=The PostgreSQL object-relational database system provides reliability and data integrity.
After=docker.service
Requires=docker.service
[Service]
EnvironmentFile=/home/core/postgresql/secret
ExecStart=docker run \
--network=postgresql-network \
--name=postgresql \
--rm \
-e POSTGRES_PASSWORD=${POSTGRES_PASSWORD} \
postgres:latest
[Install]
WantedBy=multi-user.target