Skip to content

Commit

Permalink
Add changes for issue 18171 from official images
Browse files Browse the repository at this point in the history
This repo is outdated. The current compose files
are only intended for testing/evaluation, and there
is currently no working compose file for testing
the 'fpm' variant of the image.

This likely needs work, which I will be attending
to after my Einbürgerungstest, which is tomorrow.
  • Loading branch information
diraneyya committed Jan 9, 2025
1 parent d8707fc commit a945e31
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 18 deletions.
2 changes: 2 additions & 0 deletions 1/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,7 @@ RUN curl -fSL "https://github.com/backdrop/backdrop/archive/refs/tags/${BACKDROP
# Add custom entrypoint to set BACKDROP_SETTINGS correctly
COPY docker-entrypoint.sh /entrypoint.sh

EXPOSE 9000

ENTRYPOINT ["/entrypoint.sh"]
CMD ["php-fpm"]
9 changes: 9 additions & 0 deletions compose.apache.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: docker-evaluation
services:
backdrop:
build:
Expand All @@ -8,6 +9,10 @@ services:
BACKDROP_DB_HOST: db
BACKDROP_DB_USER: backdrop
BACKDROP_DB_PASSWORD: backdrop
depends_on:
db:
condition: service_healthy
restart: true

db:
image: mysql
Expand All @@ -16,3 +21,7 @@ services:
MYSQL_PASSWORD: backdrop
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
MYSQL_DATABASE: backdrop
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
timeout: 6s
retries: 10
18 changes: 0 additions & 18 deletions compose.fpm.yml

This file was deleted.

0 comments on commit a945e31

Please sign in to comment.