-
Clone the repository
git clone https://github.com/PHLAK/valheim-compose.git
-
Initialize the configuration files
make init
or manually
cp --verbose .skelleton/config/*.env config/ cp --verbose .skelleton/.env .
-
Set the environment variables in
.env
-
Set the application-specific environment variables by editing the files found in the
config
directory -
Run
docker-compose config
to validate and confirm your configuration -
Run
docker-compose up -d
to start the containers
This project includes Watchtower that will periodically check for new images on a schedule and update containers if found.
Watchtower configuration is controlled through the environment variables set in
the config/watchtower.env
file. Check out the Watchtower documentation
(specifically the Arguments page)
for more information on the available envionment variables and what they do.
To fetch updated images and update the running containers run
make update
or manually
docker-compose pull && docker-compose up -d