mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
fix: devcontainer
This commit is contained in:
33
.devcontainer/docker-compose.yaml
Normal file
33
.devcontainer/docker-compose.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
version: "3.9"
|
||||
services:
|
||||
cli:
|
||||
build: cli
|
||||
volumes:
|
||||
- ..:/workspaces/laravel
|
||||
|
||||
fpm:
|
||||
build: fpm
|
||||
volumes:
|
||||
- ..:/workspaces/laravel
|
||||
user: 1000:1000
|
||||
|
||||
nginx:
|
||||
build: nginx
|
||||
volumes:
|
||||
- ..:/workspaces/laravel
|
||||
ports:
|
||||
- 80:80
|
||||
depends_on:
|
||||
- fpm
|
||||
|
||||
mysql:
|
||||
image: mysql
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: root
|
||||
MYSQL_DATABASE: dev
|
||||
MYSQL_USER: dev
|
||||
MYSQL_PASSWORD: password
|
||||
|
||||
redis:
|
||||
image: redis:6.2-alpine
|
||||
|
||||
Reference in New Issue
Block a user