Initial commit
This commit is contained in:
commit
f48cdc268b
31 changed files with 628 additions and 0 deletions
15
compose.yaml
Normal file
15
compose.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
custom:
|
||||
image: php:8.3.12-apache
|
||||
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
|
||||
- ./apache.conf:/etc/apache2/conf-available/custom.conf:z
|
||||
ports:
|
||||
- "4040:80"
|
||||
command: bash -c "a2enconf custom && a2enmod rewrite && apache2-foreground"
|
||||
Loading…
Add table
Add a link
Reference in a new issue