mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2025-04-19 00:45:16 +00:00
Fix: remove nginx default virtualhost
This commit is contained in:
parent
31fc3a1098
commit
9a79ffa93d
@ -1,6 +1,7 @@
|
|||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
RUN apk --no-cache add openssl
|
RUN apk --no-cache add openssl
|
||||||
COPY nginx_entrypoint.sh /nginx_entrypoint.sh
|
COPY nginx_entrypoint.sh /nginx_entrypoint.sh
|
||||||
|
COPY virtualhost.conf /etc/nginx/conf.d/default.conf
|
||||||
RUN chmod +x /nginx_entrypoint.sh
|
RUN chmod +x /nginx_entrypoint.sh
|
||||||
ENTRYPOINT ["/nginx_entrypoint.sh"]
|
ENTRYPOINT ["/nginx_entrypoint.sh"]
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
|
@ -37,7 +37,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- wireguard-webadmin
|
- wireguard-webadmin
|
||||||
|
|
||||||
nginx:
|
wireguard-webadmin-nginx:
|
||||||
container_name: wireguard-webadmin-nginx
|
container_name: wireguard-webadmin-nginx
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
@ -45,7 +45,6 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile_nginx
|
dockerfile: Dockerfile_nginx
|
||||||
volumes:
|
volumes:
|
||||||
- ./virtualhost.conf:/etc/nginx/conf.d/wireguard-webadmin.conf
|
|
||||||
- static_volume:/static
|
- static_volume:/static
|
||||||
- https_cert:/certificate
|
- https_cert:/certificate
|
||||||
ports:
|
ports:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user