Skip to content

Commit

Permalink
Added script to fix adminer-norouter file
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjol committed Aug 19, 2024
1 parent c6906eb commit 28e1db8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ post_install_actions:
# ddev aljibe-kickstart

- ./scripts/install-dependencies.sh
- ./scripts/fix-adminer-norouter.sh
- test -f aljibe.yaml || cp aljibe.yaml.example aljibe.yaml
10 changes: 10 additions & 0 deletions scripts/fix-adminer-norouter.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#ddev-generated
## This script overwrite the no-router adminer configuration with the default one, so when you run autoupdate
## on no-router environment, the adminer configuration is not overwritten.
pwd
cat <<EOF > docker-compose.adminer_norouter.yaml
#ddev-generated
# If omit_containers[ddev-router] then this file will be replaced
# with another with a \`ports\` statement to directly expose port 8080 to 9100
services: {}
EOF

0 comments on commit 28e1db8

Please sign in to comment.