Skip to content

Commit

Permalink
feat: initial project
Browse files Browse the repository at this point in the history
  • Loading branch information
rushiiMachine committed Aug 26, 2023
1 parent e6a9ce5 commit 7649d8f
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# https://github.com/MateriiApps/mai#config

DISCORD_TOKEN=
GITHUB_TOKEN=

OWNERS=

ANDROIDX_CHANNEL=
ANDROIDX_ROLE=

AGE_REQUIREMENT=

LOG_LEVEL=Info
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.vscode
.env
21 changes: 21 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: "3.7"

services:
mai:
container_name: mai
image: ghcr.io/materiiapps/mai:latest
restart: on-failure
env_file: .env
labels:
- "com.centurylinklabs.watchtower.scope=mai"
mai-updater:
container_name: mai-updater
image: containrrr/watchtower:1.5.3
restart: on-failure
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
WATCHTOWER_POLL_INTERVAL: 21600 # 6h
WATCHTOWER_SCOPE: mai
labels:
- "com.centurylinklabs.watchtower.scope=mai"
1 change: 1 addition & 0 deletions down.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sudo docker-compose -p mai down
1 change: 1 addition & 0 deletions up.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sudo docker-compose -p mai up --build -d

0 comments on commit 7649d8f

Please sign in to comment.