This repository contains Docker Compose scripts for setting up a home server. The configuration provided is personal and may need to be adjusted according to your specific requirements.
- Docker and Docker Compose installed on your server
- SSH access to your server
-
Copy all files to your server:
scp * user@your-server.local:~/docker/
-
SSH into your server:
ssh user@your-server.local
-
Navigate to the
docker
directory:cd docker
-
Run the Docker Compose file:
docker compose -f infra-docker-compose.yml up -d
The .env.sample
file in this repository contains sample environment variables that are used by the Docker Compose scripts. Before running the scripts, you should rename this file to .env
and update the variables to match your environment.
To rename the file, use the following command:
mv .env.sample .env
After renaming, open the .env file and replace the placeholder values with your actual data. Save the file and proceed with the steps in the Usage section above.