backend-01

ref: master

./docker-compose.yml


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
version: '3.8'

services:
  app:
    build: .
    container_name: php-app
    ports:
      - "8000:8000"
    volumes:
      - .:/var/www
      - ./storage:/var/www/storage
    command: >
            sh -c "php -S 0.0.0.0:8000 -t public"