Initial Commit
This commit is contained in:
28
docker-compose.yml
Normal file
28
docker-compose.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
services:
|
||||
nginx:
|
||||
build:
|
||||
context: "nginx"
|
||||
dockerfile: "Dockerfile"
|
||||
volumes:
|
||||
- ./src:/var/www/html:ro
|
||||
ports:
|
||||
- 8080:80
|
||||
- 8443:443
|
||||
depends_on:
|
||||
- phpfpm
|
||||
|
||||
phpfpm:
|
||||
build:
|
||||
context: "phpfpm"
|
||||
dockerfile: "Dockerfile"
|
||||
volumes:
|
||||
- ./src:/var/www/html:rw
|
||||
|
||||
db:
|
||||
image: mariadb
|
||||
env_file: .env.db
|
||||
|
||||
composer:
|
||||
image: composer
|
||||
volumes:
|
||||
- ./src:/app
|
||||
Reference in New Issue
Block a user