Enable Apache rewrite module and custom configuration Configure logging to container output streams Update compose file to use build context instead of direct image Remove redundant volume mount for apache.conf Remove unnecessary command override
11 lines
242 B
YAML
11 lines
242 B
YAML
services:
|
|
custom:
|
|
build: .
|
|
container_name: stopplidelsen.no
|
|
working_dir: /var/www/html/
|
|
volumes:
|
|
- ./app:/var/www/app:z
|
|
- ./content:/var/www/html:z
|
|
- ./custom:/var/www/custom:z
|
|
ports:
|
|
- "4040:80"
|