Skip to content

Commit

Permalink
gladys
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaofeng1227 committed Sep 26, 2024
1 parent 845b67d commit 8bec859
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
16 changes: 11 additions & 5 deletions apps/gladys/.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@ 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
#### -- Not allowed to edit below environments when recreate app based on existing data -- ####
W9_HTTP_PORT_SET=9001
W9_HTTP_PORT=80
W9_URL=internet_ip
W9_NETWORK=websoft9
#### --------------------------------------------------------------------------------------- ####

#### --------------------------------------------------------------------------------------- ####
# ENV for Gladys
TZ=Europe/Paris
SERVER_PORT=80
NODE_ENV=production
SQLITE_FILE_PATH=/var/lib/gladysassistant/gladys-production.db
7 changes: 5 additions & 2 deletions apps/gladys/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,21 @@ services:
- .env
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/gladysassistant:/var/lib/gladysassistant
- gladysassistant:/var/lib/gladysassistant
- /dev:/dev
- /run/udev:/run/udev:ro

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

volumes:
gladysassistant:

networks:
default:
name: ${W9_NETWORK}
Expand Down

0 comments on commit 8bec859

Please sign in to comment.