Skip to content

Commit

Permalink
kodbox
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaofeng1227 committed May 6, 2024
1 parent a064e4e commit d20204d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
6 changes: 3 additions & 3 deletions apps/kodbox/.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# https://hub.docker.com/r/kodcloud/kodbox
# must use 4four decimal version number
W9_VERSION=v1.4505
W9_VERSION=1.49
W9_DIST=community
W9_REPO=kodcloud/kodbox

Expand All @@ -9,9 +9,9 @@ W9_POWER_PASSWORD=uQ8E1wVTzG8SOk3!
#### -- Not allowed to edit below environments when recreate app based on existing data -- ####
W9_ID=kodbox
W9_DB_EXPOSE="mariadb"
W9_DB_VERSION="10.4"
W9_DB_VERSION="10.6"
W9_HTTP_PORT=80
W9_HTTP_PORT_SET=9001
W9_HTTP_PORT_SET=9002
W9_URL=internet_ip
W9_NETWORK=websoft9
#### --------------------------------------------------------------------------------------- ####
17 changes: 8 additions & 9 deletions apps/kodbox/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# image: https://hub.docker.com/r/kodcloud/kodbox
# compose: https://github.com/KodCloud-dev/docker/blob/master/compose/docker-compose.yml

version: "3.8"

Expand All @@ -9,8 +10,8 @@ services:
container_name: $W9_ID-mariadb
environment:
- "TZ=Asia/Shanghai"
- "MYSQL_DATABASE=$W9_ID"
- "MYSQL_USER=$W9_ID"
- "MYSQL_DATABASE=kodbox"
- "MYSQL_USER=kodbox"
- "MYSQL_PASSWORD=$W9_POWER_PASSWORD"
- "MYSQL_ROOT_PASSWORD=$W9_POWER_PASSWORD"
restart: always
Expand All @@ -25,11 +26,11 @@ services:
volumes:
- kodbox:/var/www/html
environment:
- "MYSQL_SERVER=$W9_ID-mariadb"
- "MYSQL_DATABASE=$W9_ID"
- "MYSQL_USER=$W9_ID"
- "MYSQL_HOST=$W9_ID-mariadb"
- "MYSQL_DATABASE=kodbox"
- "MYSQL_USER=kodbox"
- "MYSQL_PASSWORD=$W9_POWER_PASSWORD"
- "SESSION_HOST=redis"
- "REDIS_HOST=$W9_ID-redis"
- "PUID=1050"
- "PGID=1051"
env_file: .env
Expand All @@ -38,8 +39,6 @@ services:
redis:
image: redis:alpine
container_name: $W9_ID-redis
environment:
- "TZ=Asia/Shanghai"
restart: always

volumes:
Expand All @@ -49,4 +48,4 @@ volumes:
networks:
default:
name: $W9_NETWORK
external: true
external: true
2 changes: 1 addition & 1 deletion apps/kodbox/variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"edition": [
{
"dist": "community",
"version": ["v1.4505","latest"]
"version": ["1.49","latest"]
}
],
"requirements": {
Expand Down

0 comments on commit d20204d

Please sign in to comment.