Compare commits
6 commits
cfb9db864b
...
1187f531de
Author | SHA1 | Date | |
---|---|---|---|
OpenVisor | 1187f531de | ||
OpenVisor | 6510a6dbcd | ||
OpenVisor | 24a093b99f | ||
OpenVisor | 24b8a76c0f | ||
OpenVisor | cee158780f | ||
OpenVisor | 2fa19eba79 |
|
@ -1,3 +1,6 @@
|
||||||
|
# openvisor-website/.dockerignore
|
||||||
|
# https://git.openvisor.ch/OpenVisor/OpenVisor-Website/.dockerignore
|
||||||
|
|
||||||
# docker files
|
# docker files
|
||||||
Dockerfile
|
Dockerfile
|
||||||
docker-compose.yml
|
docker-compose.yml
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# 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
|
||||||
|
|
||||||
|
|
|
@ -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](https://git.openvisor.ch/OpenVisor/OpenVisor-Website/src/branch/main/LICENSE)
|
[GNU General Public License v3.0](./LICENSE)
|
|
@ -1,5 +1,5 @@
|
||||||
# openvisor-website/docker-compose.yml
|
# openvisor-website/docker-compose.yml
|
||||||
# https://git.openvisor.ch/OpenVisor/OpenVisor-Website
|
# https://git.openvisor.ch/OpenVisor/OpenVisor-Website/docker-compose.yml
|
||||||
networks:
|
networks:
|
||||||
openvisorwebsite-network:
|
openvisorwebsite-network:
|
||||||
name: openvisorwebsite-network
|
name: openvisorwebsite-network
|
||||||
|
|
26
post-receive
Normal file
26
post-receive
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# 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
|
Loading…
Reference in a new issue