mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
add local docker-compose to build
This commit is contained in:
parent
8cb44c7b97
commit
d6c344b5ec
24
docker/docker-compose.yaml
Normal file
24
docker/docker-compose.yaml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# docker-compose.yml
|
||||||
|
# RUN: ```docker-compose --env-file```
|
||||||
|
version: "3.7"
|
||||||
|
|
||||||
|
services:
|
||||||
|
npm:
|
||||||
|
build:
|
||||||
|
context: ../
|
||||||
|
dockerfile: ./docker/Dockerfile
|
||||||
|
args:
|
||||||
|
VERSION: 2.7.3 #"${NPM_VERSION}" # if using .env file
|
||||||
|
image: npm:test # provide a name and tag for the image
|
||||||
|
# mariadb:
|
||||||
|
# build:
|
||||||
|
# context: .
|
||||||
|
# dockerfile: Dockerfile-mariadb
|
||||||
|
# args:
|
||||||
|
# VERSION: 10.4.15 #"${MARIADB_VERSION}" # if using .env file
|
||||||
|
# image: mariadb:test
|
||||||
|
|
||||||
|
|
||||||
|
# volumes: # Optional, same as `docker volume create`
|
||||||
|
|
||||||
|
# networks: # Optional, same as `docker network create`
|
Loading…
Reference in New Issue
Block a user