Adding so many things.

This commit is contained in:
dan612
2026-03-22 13:23:31 -04:00
parent 7d5904e925
commit b9e362497a
10 changed files with 95 additions and 41 deletions

View File

@@ -1,11 +1,23 @@
services:
app:
build: .
ports:
- "127.0.0.1:9000:9000"
php:
image: dchadwick/planet-express:1.0.1
working_dir: /app
command: php-fpm -F
volumes:
- .:/app
- ./database:/app/database # Persists your SQLite file
- ./database:/app/database
networks:
- app-network
web:
image: nginx:alpine
ports:
- "8000:80"
volumes:
- .:/app
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
depends_on:
- php
networks:
- app-network