# vim: ft=systemd
[Container]
Image=docker.io/greptime/greptimedb:v1.0.0-rc.1

Exec=standalone start --http-addr 0.0.0.0:4000 --rpc-bind-addr 0.0.0.0:4001 --mysql-addr 0.0.0.0:4002 --postgres-addr 0.0.0.0:4003

Volume={{ greptimedb_data_dir }}:/greptimedb_data

PublishPort=0.0.0.0:4000:4000
PublishPort=0.0.0.0:4001:4001
PublishPort=0.0.0.0:4002:4002
PublishPort=0.0.0.0:4003:4003

User=0

[Service]
Restart=always

[Install]
WantedBy=default.target
WantedBy=multi-user.target
