mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
add nginx official container
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
FROM nginx:1.23.3-alpine
|
||||
|
||||
USER root
|
||||
|
||||
# Install bash.
|
||||
RUN apk update && apk add bash && apk add curl
|
||||
@@ -705,14 +705,7 @@ services:
|
||||
- home
|
||||
- notification
|
||||
restart: always
|
||||
{{ if or (eq .Env.ENVIRONMENT "development") (eq .Env.ENVIRONMENT "ci") }}
|
||||
build:
|
||||
network: host
|
||||
context: .
|
||||
dockerfile: ./Nginx/Dockerfile
|
||||
{{ else }}
|
||||
image: oneuptime/nginx:{{ .Env.APP_TAG }}
|
||||
{{ end }}
|
||||
image: nginx:1.23.3-alpine
|
||||
ports:
|
||||
- '80:80'
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user