diff --git a/docker/tooling/Dockerfile b/docker/tooling/Dockerfile index 0fcb8fd0c4..3896571d03 100644 --- a/docker/tooling/Dockerfile +++ b/docker/tooling/Dockerfile @@ -6,3 +6,5 @@ RUN apk update \ && apk add --no-cache $PHPIZE_DEPS runuser \ && pecl install xdebug \ && docker-php-ext-enable xdebug + +RUN apk add npm && npm install -g pa11y diff --git a/docker/tooling/docker-compose.yaml b/docker/tooling/docker-compose.yaml index 698e3418f3..4f29c2135c 100644 --- a/docker/tooling/docker-compose.yaml +++ b/docker/tooling/docker-compose.yaml @@ -22,6 +22,28 @@ services: - db.env command: /entrypoint.sh + nginx: + image: nginx:alpine + depends_on: + - php + restart: always + tty: false + # ports: + # - "8080:80" + # - "4443:443" + volumes: + # Nginx + - ../nginx/nginx.conf:/var/nginx/social.conf + - ../nginx/domain.sh:/var/nginx/domain.sh + # Certbot + - ../certbot/www:/var/www/certbot + - ../certbot/.files:/etc/letsencrypt + # social + - ../../public:/var/www/social/public + env_file: + - ../bootstrap/bootstrap.env + command: /bin/sh -c '/var/nginx/domain.sh; nginx -g "daemon off;"' + db: image: postgres:alpine environment: