Skip to content

Commit

Permalink
fix: Embed LocalSettings.php in femiwiki image
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 committed May 21, 2024
1 parent 559fb60 commit a5f5bdf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-femiwiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Edit configuration
run: |
mv development/secret.php.example development/secret.php
mv dockers/mediawiki/LocalSettings.php development
mv dockers/femiwiki/LocalSettings.php development
mv dockers/femiwiki/Hotfix.php development
sed -i -r 's~ghcr\.io\/femiwiki\/mediawiki:.+~ghcr\.io\/femiwiki\/mediawiki:docker-test~' docker-compose.yml
Expand Down
2 changes: 2 additions & 0 deletions dockers/femiwiki/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ COPY --chown=www-data:www-data resources /srv/femiwiki.com/
COPY --chown=www-data:www-data ["site-list.xml", "Hotfix.php", "/a/"]
RUN mkdir /mediawiki/

COPY --chown=www-data LocalSettings.php /a/

EXPOSE 80
EXPOSE 443
EXPOSE 9000
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions dockers/femiwiki/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Bump femiwiki/mediawiki to v2.0.0
- Run Composer
- Download extensions from femiwiki/femiwiki-extensions v1.1.1
- Embed LocalSettings.php in this image

## v1.1.0

Expand Down

0 comments on commit a5f5bdf

Please sign in to comment.