How to Restart 1Gateway
This guide provides instructions for restarting 1Gateway. Restartinng 1Gateway may fix potential issues, such as display problems or error messages.
Restarting 1Gateway
-
Access the Restart Option:
- Navigate to the top-right corner of your screen.
- Click on your profile icon.
-
Select Restart:
- From the dropdown menu that appears, click on Restart 1Gateway.
-
Verify Restart:
- Allow the system a few moments to process the restart. Refresh your browser to confirm that 1Gateway has restarted and is functioning properly.
Troubleshooting "This site can't be reached" Error
If you encounter this error when refreshing the page after restarting:
-
Check the Docker Compose File:
- Open your
docker-compose.ymlfile.
- Open your
-
Verify the
restartPolicy:- Ensure that the
restart: alwaysproperty is specified for the 1Gateway service.
Example:
- Ensure that the
services:
1gateway:
image: your-image-name
restart: always
environment:
- ENV_VAR_1=value
- ENV_VAR_2=value
-
Save and Apply Changes:
- Save the file and restart the Docker containers using the command:
docker-compose up -d
- Save the file and restart the Docker containers using the command:
-
Check 1Gateway:
- Confirm that 1Gateway is running and accessible by refreshing your browser.
Ensuring the restart: always policy is in place allows Docker to automatically restart the container in case of unexpected shutdowns.