Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(soffit-pwa): deploy #659

Merged
merged 6 commits into from
Jan 18, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(soffit-pwa): deployment
  • Loading branch information
njfamirm authored and alimd committed Jan 18, 2023
commit b0ad0256e97ebbcbff71d415b3fd586a95434261
4 changes: 2 additions & 2 deletions .github/workflows/publish-alwatr-container.yml
Original file line number Diff line number Diff line change
@@ -70,8 +70,8 @@ jobs:
dockerfile: cloud/container/alwatr-pwa.dockerfile
description: Alwatr Flight Finder PWA.

- image: soffit-pwa
source: uniquely/soffit-pwa
- image: soffit-site-pwa
source: uniquely/soffit-site-pwa
dockerfile: cloud/container/alwatr-pwa.dockerfile
description: Alwatr Soffit PWA.

30 changes: 30 additions & 0 deletions cloud/classic/soffit-pwa/compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
networks:
internal:
alwatr-public-network:
name: alwatr-public-network
external: true

services:
pwa:
image: ghcr.io/alimd/soffit-site-pwa:${PWA_VERSION:-next}

cpu_shares: 1024
mem_limit: 256m

# restart: unless-stopped

networks:
alwatr-public-network:

logging:
driver: json-file
options:
max-size: '10m'
max-file: '2'

labels:
traefik.enable: true
traefik.port: 80
traefik.frontend.rule: Host:${PWA_DOMAIN}
traefik.frontend.entryPoints: http, https
traefik.frontend.redirect.entryPoint: https
3 changes: 3 additions & 0 deletions cloud/classic/soffit-pwa/deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

source ../lib/deploy.sh
4 changes: 4 additions & 0 deletions cloud/classic/soffit-pwa/env/example.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
U2FsdGVkX198KleekrEbSTd7dyu0yjWOf+BI/MsIpo3O2d9092C0b0n+Zp9hMwkW
NdtkadMF7TxqATbhWwxXvgED+u3Bao2VKmCprbPHpwBq9xm/wDzwthvxcV7G1RIU
ndtUjIx+ADOLAVmRnxMYYnT4hEHHKx3BlvExlYezJ8reezIYTvq11ySYdAPOO1Rz
nSJkStvPW1yuodpQ8gTyyp5rnbSl8E9Z/n3prNegh4lB/RLP/fU/BsVOs3Idhb+q