Skip to content

ivarmedi/docker_meta.sr.ht

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ivarmedi/meta.sr.ht

Contents

This dockerfile contains meta.sr.ht and Nginx.

Usage

Modify the config.ini.example file as needed. Mount the file in at /etc/sr.ht/config.ini like so:

docker run -d --name meta -v /path/to/config.ini:/etc/sr.ht/config.ini -p8001:8001 ivarmedi/meta.sr.ht

More options

Admin user

You can create an admin user by providing the environment variables USERNAME and EMAIL. The password will be password:

docker run -it --rm -e USERNAME="ivarmedi" -e EMAIL="[email protected]" -v /etc/sr.ht/config.ini:/etc/sr.ht/config.ini ivarmedi/meta.sr.ht

Wait for the app to start, and exit with Ctrl+C.

If you pass the same username on subsequent runs, it will reset the password to password (and set the email to whatever you provide).

About

meta.sr.ht in a container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published