fixup! Pritup pres PHP a docker
This commit is contained in:
12
Makefile
Normal file
12
Makefile
Normal file
@@ -0,0 +1,12 @@
|
||||
COMPOSE ?= docker compose
|
||||
|
||||
.PHONY: build up down
|
||||
|
||||
build:
|
||||
$(COMPOSE) build
|
||||
|
||||
up:
|
||||
$(COMPOSE) up -d
|
||||
|
||||
down:
|
||||
$(COMPOSE) down
|
||||
6
compose.yaml
Normal file
6
compose.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
services:
|
||||
get:
|
||||
build: .
|
||||
ports:
|
||||
- "${PORT:-8082}:80"
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user