Starting ERPNext after a server restart

Hello everyone,

I have installed ERPNext using the easy-install-script. It works fine so far, but after restarting the server on which Docker-CE is running, ERPNext does not start. I am not very familiar with Docker yet, hence my following question:

I use the following command to restart ERPNext:
docker compose -p frappe -f frappe-compose.yml up -d

Is this the right way? I am afraid that it might delete my saved data? Is there an option to start ERPNext automatically if the server has to be switched off for maintenance etc.?

Many thanks for your help!

Greetings Christian

as you’re using docker-compose

restart: unless-stopped

Add this to our yml and it should start automatically.

Hi,

no i am notusing docker-compose (i think?). I installed a Hetzner Server with docker-ce and then just run the installation script for ERPnext. Where could i find a yml?

From there.

You can edit frappe-compose.yml

1 Like

Thank you, looks like it is working fine :slight_smile: