forked from zammad/zammad-docker-compose
-
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.
Merge branch 'zammad:master' into master
- Loading branch information
Showing
7 changed files
with
66 additions
and
32 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 |
---|---|---|
@@ -1,8 +1,14 @@ | ||
IMAGE_REPO=zammad/zammad-docker-compose | ||
ELASTICSEARCH_VERSION=8.8.0 | ||
IMAGE_REPO=ghcr.io/zammad/zammad | ||
MEMCACHE_SERVERS=zammad-memcached:11211 | ||
POSTGRES_VERSION=15.1-alpine | ||
MEMCACHE_VERSION=1.6.20-alpine | ||
POSTGRES_DB=zammad_production | ||
POSTGRES_PASS=zammad | ||
POSTGRES_USER=zammad | ||
POSTGRES_HOST=zammad-postgresql | ||
POSTGRES_PORT=5432 | ||
POSTGRES_VERSION=15.3-alpine | ||
REDIS_URL=redis://zammad-redis:6379 | ||
REDIS_VERSION=7.0.5-alpine | ||
RESTART=always | ||
VERSION=5.3.1-6 | ||
VERSION=6.0.0-66 |
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 |
---|---|---|
|
@@ -23,16 +23,28 @@ echo | |
echo "Execute autowizard..." | ||
echo | ||
|
||
docker exec zammad-docker-compose_zammad-railsserver_1 rake zammad:setup:auto_wizard | ||
docker exec --env=AUTOWIZARD_RELATIVE_PATH=var/auto_wizard.json --env=DATABASE_URL=postgres://zammad:zammad@zammad-postgresql:5432/zammad_production zammad-docker-compose_zammad-railsserver_1 rake zammad:setup:auto_wizard | ||
|
||
echo | ||
echo "Autowizard executed successful :)" | ||
echo | ||
|
||
|
||
echo | ||
echo "Check DB for AutoWizard user" | ||
echo | ||
|
||
docker exec --env=DATABASE_URL=postgres://zammad:zammad@zammad-postgresql:5432/zammad_production zammad-docker-compose_zammad-railsserver_1 rails r "p User.find_by(email: '[email protected]')" | grep '[email protected]' | ||
|
||
echo | ||
echo "Check DB for AutoWizard user successfull :)" | ||
echo | ||
|
||
echo | ||
echo "Fill DB with some random data" | ||
docker exec zammad-docker-compose_zammad-railsserver_1 rails r "FillDb.load(agents: 1,customers: 1,groups: 1,organizations: 1,overviews: 1,tickets: 1)" | ||
echo | ||
|
||
docker exec --env=DATABASE_URL=postgres://zammad:zammad@zammad-postgresql:5432/zammad_production zammad-docker-compose_zammad-railsserver_1 rails r "FillDb.load(agents: 1,customers: 1,groups: 1,organizations: 1,overviews: 1,tickets: 1)" | ||
|
||
echo | ||
echo "DB fill successful :)" | ||
|
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
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
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
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
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