Fixes for issues found testing first time setup in the different configurations. Reviewed-on: https://gitea.subcultureofone.org/greg/tkr/pulls/68 Co-authored-by: Greg Sarjeant <greg@subcultureofone.org> Co-committed-by: Greg Sarjeant <greg@subcultureofone.org>
21 lines
666 B
YAML
21 lines
666 B
YAML
services:
|
|
php-apache:
|
|
image: php:8.2-apache
|
|
container_name: php-apache
|
|
ports:
|
|
- "80:80"
|
|
volumes:
|
|
- ./config:/var/www/html/tkr/config
|
|
- ./public:/var/www/html/tkr/public
|
|
- ./src:/var/www/html/tkr/src
|
|
- ./storage:/var/www/html/tkr/storage
|
|
- ./templates:/var/www/html/tkr/templates
|
|
- ./tkr-setup.php:/var/www/html/tkr/tkr-setup.php
|
|
- ./docker/apache/shared-hosting/.htaccess:/var/www/html/tkr/.htaccess
|
|
command: >
|
|
bash -c "a2enmod rewrite headers expires &&
|
|
apache2-foreground &&
|
|
chown -R www-data:www-data /var/www/html/tkr/storage"
|
|
|
|
restart: unless-stopped
|