Skip to content

Commit

Permalink
feat(soffit-pwa): deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
njfamirm committed Jan 18, 2023
1 parent 9e93434 commit 55cfc87
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
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-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

0 comments on commit 55cfc87

Please sign in to comment.