23 lines
700 B
Desktop File
23 lines
700 B
Desktop File
[Unit]
|
|
Documentation=https://github.com/ente-io/ente/tree/main/server#readme
|
|
Requires=docker.service
|
|
After=docker.service
|
|
Requires=nginx.service
|
|
After=nginx.service
|
|
|
|
[Service]
|
|
Restart=on-failure
|
|
ExecStartPre=docker pull rg.fr-par.scw.cloud/ente/museum-prod
|
|
ExecStartPre=-docker stop museum
|
|
ExecStartPre=-docker rm museum
|
|
ExecStart=docker run --name museum \
|
|
-e ENVIRONMENT=production \
|
|
-e ENTE_HTTP_USE-TLS=0 \
|
|
--hostname "%H" \
|
|
-p 8080:8080 \
|
|
-p 2112:2112 \
|
|
-v /root/museum/credentials:/credentials:ro \
|
|
-v /root/museum/credentials.yaml:/credentials.yaml:ro \
|
|
-v /root/museum/data:/data:ro \
|
|
-v /root/var:/var \
|
|
rg.fr-par.scw.cloud/ente/museum-prod
|