18 lines
386 B
Text
18 lines
386 B
Text
|
[Install]
|
||
|
WantedBy=default.target
|
||
|
|
||
|
[Unit]
|
||
|
Requires=postgres.service
|
||
|
After=postgres.service
|
||
|
|
||
|
[Container]
|
||
|
AutoUpdate=registry
|
||
|
ContainerName=notatio
|
||
|
EnvironmentFile=.env
|
||
|
Exec=./wait-for-postgres.sh postgres '${PGPORT}' ./notatio
|
||
|
Image=docker.io/notatio/notatio
|
||
|
Network=notatio.network
|
||
|
PublishPort=9991:9991
|
||
|
Volume=./notatio_uploads:/uploads:Z
|
||
|
Volume=./editor_templates:/editor_templates:Z
|