Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikevdberge/snowmirror-docker
Dockerized SnowMiror.
https://github.com/mikevdberge/snowmirror-docker
docker snowmirror
Last synced: about 1 month ago
JSON representation
Dockerized SnowMiror.
- Host: GitHub
- URL: https://github.com/mikevdberge/snowmirror-docker
- Owner: mikevdberge
- License: mit
- Created: 2022-10-25T10:07:00.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-28T05:41:14.000Z (4 months ago)
- Last Synced: 2024-08-28T06:34:47.006Z (4 months ago)
- Topics: docker, snowmirror
- Language: Shell
- Homepage:
- Size: 19.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dockerized SnowMirror
This project creates a small dockerized SnowMiror.
[Docker Images:
![Docker Hub](https://shields.io/docker/pulls/mikevandenberge/snowmirror)](https://hub.docker.com/u/mikevandenberge/)
[License:
![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/mikevdberge/snowmirror-docker/blob/master/LICENSE)
[![Actions Status](https://github.com/mikevdberge/snowmirror-docker/workflows/Release%20production%20version/badge.svg)](https://github.com/mikevdberge/snowmirror-docker/actions)## Getting started
1. Create a directory for the configuration
This allows you to update `SnowMirror` by just deleting and recreating the container```bash
mkdir $HOME/.local/share/snowmirror/
cd $HOME/.local/share/snowmirror/
```
2. Download the snowmirror.properties file in the snowmirror directory
```bash
### SnowMirror base URL ###
snowMirror.scheme = http
snowMirror.host = localhost
snowMirror.port = 9090
snowMirror.controlport = 8005
snowMirror.context =### Installation ###
snowMirror.installation.name = SnowMirror### SnowMirror configuration database
config.db.type = h2
config.jdbc.url = jdbc:h2:${snowMirror.dataDir}/h2/snowmirror
config.jdbc.username = sa
config.jdbc.password = sa
config.jdbc.schema =
config.jdbc.encryption = IGNORE
```
3. Download the docker-compose.yml file in the snowmirror directory
```bash
services:
snowmirror:
container_name: snowmirror
image: mikevandenberge/snowmirror:latest
ports:
- "9090:9090"
volumes:
- "./snowMirror.properties:/opt/snowmirror/snowMirror.properties"
- "./logs:/opt/snowmirror/logs"
```
4. Start the container```bash
$ sudo docker compose up -d
```5. Attach to a running container
```bash
docker container exec -it snowmirror /bin/bash
```
6. Open your browser and goto http://localhost:9090