nginx added to portainer stack
All checks were successful
deploy / deploy (push) Successful in 3s

This commit is contained in:
2024-08-25 12:44:27 +01:00
parent d0b6f2d572
commit 327f0c1626
7 changed files with 12 additions and 18 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -0,0 +1,4 @@
FROM nginx:latest
COPY nginx.conf.d/* /etc/nginx/conf.d