Docker container for php-fpm and node
User :
Sample docker-compose file
workspace-backend:
image: tongkolspace/workspace:8.1-v1.0.1
container_name: workspace-backend-${APP_NAME}
build:
context: ./workspace
dockerfile: Dockerfile
volumes:
- ./php-fpm/php-dev.ini:/usr/local/etc/php/conf.d/zz-custom-php.ini
- ../backend:/var/www/html
env_file:
- .env
environment:
TZ: "${TZ}"
networks:
- internal
- external
ports:
# Bakend Laravel
- 8000:8000
- 5173:5173
Sample Command
docker-compose run -p 8000:8000 --rm workspace-backend php artisan serve --host 0.0.0.0
Content type
Image
Digest
sha256:e7d2067b7…
Size
384.4 MB
Last updated
over 2 years ago
docker pull tongkolspace/workspace