Compare commits

..

No commits in common. "1187f531de30ef80f29f78c4db6b3bcc6cf8efb0" and "cfb9db864b55eb9402bf99c78070aeb2f197acef" have entirely different histories.

5 changed files with 2 additions and 34 deletions

View file

@ -1,6 +1,3 @@
# openvisor-website/.dockerignore
# https://git.openvisor.ch/OpenVisor/OpenVisor-Website/.dockerignore
# docker files # docker files
Dockerfile Dockerfile
docker-compose.yml docker-compose.yml

View file

@ -1,6 +1,3 @@
# openvisorwebsite-dockerized/Dockerfile
# https://git.openvisor.ch/OpenVisor/OpenVisor-Website/Dockerfile
# BUILD STAGE # BUILD STAGE
FROM node:22.1.0-alpine3.19 as build-stage FROM node:22.1.0-alpine3.19 as build-stage

View file

@ -23,4 +23,4 @@ Version control is powered by [Git](https://git-scm.com) and the repository is p
As of 28.06.2024 no generative AI has been used by OpenVisor to create this website. OpenVisor tries to communicate the use of generative AI clearly if used. As of 28.06.2024 no generative AI has been used by OpenVisor to create this website. OpenVisor tries to communicate the use of generative AI clearly if used.
## License ## License
[GNU General Public License v3.0](./LICENSE) [GNU General Public License v3.0](https://git.openvisor.ch/OpenVisor/OpenVisor-Website/src/branch/main/LICENSE)

View file

@ -1,5 +1,5 @@
# openvisor-website/docker-compose.yml # openvisor-website/docker-compose.yml
# https://git.openvisor.ch/OpenVisor/OpenVisor-Website/docker-compose.yml # https://git.openvisor.ch/OpenVisor/OpenVisor-Website
networks: networks:
openvisorwebsite-network: openvisorwebsite-network:
name: openvisorwebsite-network name: openvisorwebsite-network

View file

@ -1,26 +0,0 @@
# openvisorwebsite-dockerized/hooks/post-receive
# https://git.openvisor.ch/OpenVisor/OpenVisor-Website/post-receive
#!/bin/bash
# old undockerized
#git --work-tree=/var/www/html/openvisor --git-dir=/var/www/html/openvisor checkout -f
#cd /var/www/html/openvisor
#yarn build
# new dockerized
REPOSITORY=/opt/openvisorwebsite-dockerized
git --work-tree=${REPOSITORY} --git-dir=${REPOSITORY} checkout -f
touch ${REPOSITORY}/FLAG-FOR-CRONJOB-DOCKER-AUTOMATION
# content of /etc/cron.daily/openvisorwebsite-docker-automation
##!/bin/sh
#REPOSITORY=/opt/openvisorwebsite-dockerized
#if [ -f ${REPOSITORY}/FLAG-FOR-CRONJOB-DOCKER-AUTOMATION ];
# then
# docker compose build
# docker compose stop
# docker rm openvisorwebsite-app
# docker compose up -d
# rm ${REPOSITORY}/FLAG-FOR-CRONJOB-DOCKER-AUTOMATION
#fi