-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: release scripts and tools * Update release.sh * Update release.sh * Update release.sh * Update release.sh * Remove deprecated version * Update web.dockerfile
- Loading branch information
1 parent
6b0c1ce
commit ccfcb6d
Showing
15 changed files
with
63 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
packages/deploy/docker/web.dockerfile → packages/deploy/docker-web/web.dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM node:iron-bookworm | ||
FROM nginx:stable-bookworm | ||
MAINTAINER Shayne Thiessen <[email protected]> | ||
|
||
ADD packages/web/dist/ /usr/share/nginx/html | ||
|
||
COPY packages/deploy/docker/web.conf /etc/nginx/conf.d/default.conf | ||
COPY packages/deploy/docker-web/web.conf /etc/nginx/conf.d/default.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
sudo docker login registry.historyhall.org -u dockerreguser | ||
|
||
cp -n ./web/.env.default ./web.env | ||
cp -n ./server/.env.default ./server.env | ||
|
||
cd ./web | ||
sudo docker compose pull | ||
sudo docker compose down | ||
sudo docker compose up -d | ||
|
||
cd ./server | ||
sudo docker compose pull | ||
sudo docker compose down | ||
sudo docker compose up -d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
SERVER_PORT=5001 | ||
API_VERSION='0.0.1' | ||
|
||
DB_USERNAME=postgres | ||
DB_PASSWORD= | ||
DB_DOMAIN=localhost | ||
DB_SERVER=hh | ||
DB_PORT=5432 | ||
DB_REJECT_UNAUTHORIZED=false | ||
DB_LOGGING=true | ||
|
||
DEBUG=hh.* |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
services: | ||
registry: | ||
container_name: server | ||
restart: always | ||
image: registry.historyhall.org/historyhall-server | ||
environment: | ||
- TZ="America/Winnipeg" | ||
- REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY="/data" | ||
volumes: | ||
- ./.env.default:/app/packages/server/.env | ||
- ./assets:/app/packages/server/assets | ||
expose: | ||
- "3001" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
REACT_APP_API_URL=http://localhost:5001/api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: '3.5' | ||
|
||
services: | ||
registry: | ||
container_name: web | ||
restart: always | ||
image: registry.historyhall.org/historyhall-web | ||
environment: | ||
- TZ="America/Winnipeg" | ||
- REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY="/data" | ||
- LETSENCRYPT_HOST=terrene.ca | ||
- VIRTUAL_HOST=terrene.ca | ||
expose: | ||
- "80" |
1 change: 0 additions & 1 deletion
1
packages/deploy/server/docker-compose.yml → ...es/deploy/server-setup/docker-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
version: '3' | ||
services: | ||
registry: | ||
image: registry:latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.