This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
version: '3'
|
||||
services:
|
||||
nginx:
|
||||
image: nginx
|
||||
build:
|
||||
context: ./docker
|
||||
pull_policy: build
|
||||
image: homesrv/nginx:latest
|
||||
volumes:
|
||||
- ./volumes/nginx_conf:/etc/nginx/conf.d
|
||||
- etc_ssl:/etc/ssl
|
||||
ports:
|
||||
- 443:443
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
#! /bin/bash
|
||||
scriptPath="$(dirname "$(readlink -f "$0")")"
|
||||
currentPath=$PWD
|
||||
|
||||
cd $scriptPath
|
||||
docker compose pull
|
||||
docker compose up --force-recreate --build -d
|
||||
cd $currentPath
|
||||
|
||||
4
services/nginx/docker/Dockerfile
Normal file
4
services/nginx/docker/Dockerfile
Normal file
@@ -0,0 +1,4 @@
|
||||
FROM nginx:latest
|
||||
|
||||
COPY nginx.conf.d/* /etc/nginx/conf.d
|
||||
|
||||
Reference in New Issue
Block a user