Local Installation of MyLinks with Docker
For most scenarios, Docker Compose is the recommended installation method due to its simplicity, ease of use, and reliability.
Prerequisites
Installation Steps
Follow these steps to set up MyLinks with the default configuration:
Clone the Repository
git clone https://github.com/TrinhNgocThanh/mylinks.com.vn.gitNavigate to the MyLinks Directory
cd MyLinksCreate a .env File from .env.example
cp .env.example .envNote: If you’re using Windows, you might need to use
copyinstead ofcp.
Start MyLinks
docker compose up -d🎉
Access MyLinks!
Update MyLinks
The following commands will fetch the latest MyLinks project changes, including any necessary changes to the docker compose files, as well as the latest prebuilt images.
Note: you may need to prefix commands with sudo according to your environment permissions.
Stop the running container(s)
docker compose downPull latest project changes
git pullPull the latest MyLinks image
docker compose pullStart MyLinks
docker compose upAdditional Setup
Unlock additional features by exploring our configuration guides to learn how to set up:
- Custom endpoints
- Other advanced configuration options
- And more
This will enable you to customize your MyLinks experience with optional features.
see also: