Adding so many things.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user