Skip to content

Commit

Permalink
Add execute permissions for replace-basehref script in Docker Compose
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixFrizzy committed Jan 10, 2025
1 parent f789b4e commit a671d66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ services:
restart: unless-stopped
command: >
/bin/bash -c "export BASEHREFDEV &&
chmod +x /home/replace-basehref.sh &&
/home/replace-basehref.sh /var/www/html/config.ttl $$BASEHREFDEV &&
/usr/sbin/apache2ctl -D FOREGROUND"
healthcheck:
Expand Down Expand Up @@ -197,6 +198,7 @@ services:
restart: unless-stopped
command: >
/bin/bash -c "export BASEHREFLIVE &&
chmod +x /home/replace-basehref.sh &&
/home/replace-basehref.sh /var/www/html/config.ttl $$BASEHREFLIVE &&
/usr/sbin/apache2ctl -D FOREGROUND"
healthcheck:
Expand Down

0 comments on commit a671d66

Please sign in to comment.