new features

This commit is contained in:
Mark Gregory
2026-11-09 08:20:57 +00:00
parent ecfa74a35f
commit 965ae923c2
27 changed files with 1474 additions and 168 deletions
+8 -37
View File
@@ -1,41 +1,12 @@
name: laravel
name: demo
services:
web:
build:
context: ./docker/php
args:
uid: ${UID:-1000}
gid: ${GID:-1000}
depends_on:
- db
volumes:
- ./:/home/devuser/app
- ./storage/tmp/composer:/home/devuser/.composer/cache
- ./storage/tmp/npm:/home/devuser/.npm
image: docker.io/library/nginx:alpine
ports:
- ${WORKSPACE_PORT:-8080}:8080
restart: always
db:
image: mysql:5.7
environment:
- MYSQL_ROOT_PASSWORD=root_secret
- MYSQL_DATABASE=zeus
- MYSQL_USER=zeus_user
- MYSQL_PASSWORD=secret
- "8080:80"
volumes:
- ./storage/tmp/db:/var/lib/mysql
restart: always
adminer:
image: adminer
restart: always
ports:
- 9000:8080
nginx:
build: ./docker/nginx
ports:
- ${NGINX_PORT:-80}:80
volumes:
- ./:/home/devuser/app
depends_on:
- web
restart: always
- ./site:/usr/share/nginx/html:ro
networks:
- frontend
networks:
frontend: {}