Skip to content

Commit

Permalink
Merge pull request #714 from tegaomare/gladys-app-docker-compose
Browse files Browse the repository at this point in the history
Gladys app docker compose
  • Loading branch information
qiaofeng1227 authored Sep 26, 2024
2 parents da699ed + c1eab56 commit 845b67d
Show file tree
Hide file tree
Showing 6 changed files with 95 additions and 0 deletions.
11 changes: 11 additions & 0 deletions apps/gladys/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
W9_ID=gladys
W9_REPO=gladysassistant/gladys
W9_DIST=community
W9_VERSION=v4

#### -- Not allowed to edit below environments when recreate app based on existing data -- ####
W9_NETWORK=websoft9
W9_HTTP_PORT_SET=80
W9_TZ=Europe/Paris

#### --------------------------------------------------------------------------------------- ####
5 changes: 5 additions & 0 deletions apps/gladys/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# CHANGELOG

## Release

### Fixes and Enhancements
19 changes: 19 additions & 0 deletions apps/gladys/Notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Gladys

## FAQ

### What is Gladys?

Gladys is a privacy-focused, self-hosted home automation platform that runs locally and integrates with smart devices.

### How do I install Gladys?

Install via Docker, using the official image and customize the environment variables in `.env` (e.g., `W9_REPO`, `W9_VERSION`). Follow the [Installation Guide](https://gladysassistant.com/docs).

### How do I update Gladys?

For Docker installations, use Watchtower for automated updates. Manual updates can follow the [Update Guide](https://gladysassistant.com/docs/installation/update).

### Where can I get help?

Visit the [Documentation](https://gladysassistant.com/docs) or the [Community Forum](https://community.gladysassistant.com) for support.
37 changes: 37 additions & 0 deletions apps/gladys/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# image: https://hub.docker.com/r/gladysassistant/gladys/
# docs: https://github.com/GladysAssistant/Gladys

version: '3.8'

services:
gladys:
image: $W9_REPO:$W9_VERSION
container_name: $W9_ID
restart: unless-stopped
privileged: true
ports:
- "${W9_HTTP_PORT_SET}:80"
logging:
driver: "json-file"
options:
max-size: "10m"
env_file:
- .env
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/gladysassistant:/var/lib/gladysassistant
- /dev:/dev
- /run/udev:/run/udev:ro

watchtower:
image: containrrr/watchtower
restart: unless-stopped
container_name: watchtower
command: --cleanup --include-restarting
volumes:
- /var/run/docker.sock:/var/run/docker.sock

networks:
default:
name: ${W9_NETWORK}
external: true
3 changes: 3 additions & 0 deletions apps/gladys/src/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# About

This folder includes files mount to container and used by Websoft9
20 changes: 20 additions & 0 deletions apps/gladys/variables.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "gladys",
"trademark": "Gladys",
"release": true,
"fork_url": "https://github.com/GladysAssistant/Gladys",
"docker_url": "https://hub.docker.com/r/gladysassistant/gladys/tags",
"edition": [
{
"dist": "community",
"version": ["v4", "latest"]
}
],
"requirements": {
"cpu": "1",
"memory": "1",
"disk": "1",
"url": "https://gladysassistant.com/docs"
}
}

0 comments on commit 845b67d

Please sign in to comment.