Files
theoldfitz/docker-compose.yaml
T

53 lines
1.4 KiB
YAML

name: the-old-fitz
networks:
nginxproxymanager:
name: nginxproxymanager
external: true
services:
php-server:
image: php:8.5-apache
container_name: the-old-fitz
restart: unless-stopped
networks:
- nginxproxymanager
volumes:
- type: bind
source: /DATA/AppData/theoldfitz/www
target: /var/www/html
# Database lives outside the web root so Apache can't serve it.
# FITZ_DATA_DIR defaults to the CasaOS dev host's path; set it in a
# .env file next to this compose file on the VPS.
- type: bind
source: ${FITZ_DATA_DIR:-/DATA/AppData/theoldfitz/data}
target: /var/www/data
environment:
- TZ=America/Indiana/Indianapolis
- FITZ_DB_PATH=/var/www/data/fitz.sqlite
labels:
icon: https://www.php.net/images/logos/php-logo.svg
x-casaos:
architectures:
- amd64
- arm64
author: self
category: Developer
description:
en_us: PHP web server running Apache, proxied through Nginx Proxy Manager.
developer: PHP
hostname: theoldfitz.daviddyer.me
icon: https://www.php.net/images/logos/php-logo.svg
id: self.php-server
index: /
is_uncontrolled: false
main: php-server
port_map: "80"
scheme: http
tagline:
en_us: PHP 8.5 + Apache web server.
thumbnail: https://www.php.net/images/logos/php-logo.svg
title:
en_us: PHP Server