-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
744129f
commit 520f32d
Showing
5 changed files
with
57 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Publish Docker Image to Docker Hub | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Login to Docker Hub | ||
run: | | ||
echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login -u mattmajestic --password-stdin | ||
- name: Build and Push to Docker Hub | ||
run: | | ||
docker build -t mattmajestic/olivetin:latest . | ||
docker push mattmajestic/olivetin:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Use jamesread/olivetin:latest as the base image | ||
FROM jamesread/olivetin:latest | ||
|
||
# Copy the config.yaml file from your host machine to the /config directory in the Docker image | ||
COPY config.yaml /config/config.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
# olivetin | ||
Olivetin in Docker | ||
# 🚀 OliveTin Docker Project | ||
|
||
Run OliveTin in a Docker container with a custom configuration. | ||
|
||
## ⚙️ Configuration | ||
|
||
Modify `config.yaml` as needed. Refer to the [OliveTin documentation](https://docs.olivetin.app/). | ||
|
||
## 🏗️ Build and Run | ||
|
||
Run: `docker-compose up` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
actions: | ||
- title: "Hello world!" | ||
shell: echo 'Hello World!' | ||
- title: "Restart media container" | ||
shell: docker restart mediacontainer | ||
icon: box | ||
- title: "Check disk space" | ||
icon: disk | ||
shell: df -h /media | ||
# popupOnStart: execution-dialog-stdout-only |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
version: '3' | ||
services: | ||
olivetin: | ||
image: jamesread/olivetin:latest | ||
ports: | ||
- "1337:1337" | ||
volumes: | ||
- ./config.yaml:/config/config.yaml |