feature: add docker-compose

This commit is contained in:
kriss 2022-05-25 18:50:06 +08:00
parent 6b47842df2
commit c7ed1ff02f
2 changed files with 13 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,2 +1,3 @@
.idea
workspace
workspace
.env

11
docker-compose.yml Normal file
View File

@ -0,0 +1,11 @@
version: "3.7"
services:
webman:
image: "krisss/docker-webman:${PHP_CLI_VERSION}"
build:
context: "./"
args:
PHP_CLI_VERSION: ${PHP_CLI_VERSION}
PHP_EXTENSION_INSTALL_VERSION: ${PHP_EXTENSION_INSTALL_VERSION}
COMPOSER_VERSION: ${COMPOSER_VERSION}