diff --git a/cloud/classic/soffit-pwa/compose.yml b/cloud/classic/soffit-pwa/compose.yml index 1cffb11ede..0476c28243 100644 --- a/cloud/classic/soffit-pwa/compose.yml +++ b/cloud/classic/soffit-pwa/compose.yml @@ -5,6 +5,75 @@ networks: external: true services: + storage-server: + image: ghcr.io/alimd/storage-server:${STORAGE_SERVER_VERSION:-next} + + cpu_shares: 1024 + mem_limit: 256m + + stop_grace_period: 30s + + restart: unless-stopped + + networks: + internal: + aliases: + - '${APP_ID}-storage-server' + + environment: + - STORAGE_PATH=/storage + - ACCESS_TOKEN=${STORAGE_TOKEN} + - ALWATR_DEBUG=${STORAGE_SERVER_DEBUG:-} + + volumes: + - type: bind + source: ./_data/storage + target: /storage + bind: + create_host_path: true + + logging: + driver: json-file + options: + max-size: '10m' + max-file: '2' + + form-registration: + image: ghcr.io/alimd/form-registration:${FORM_REGISTRATION_VERSION:-next} + + cpu_shares: 1024 + mem_limit: 256m + + restart: unless-stopped + + networks: + internal: + alwatr-public-network: + + depends_on: + - storage-server + + environment: + - STORAGE_HOST=${APP_ID}-storage-server + - STORAGE_PORT=80 + - STORAGE_NAME=${STORAGE_NAME} + - STORAGE_TOKEN=${STORAGE_TOKEN} + - ACCESS_TOKEN=${FORM_REGISTRATION_TOKEN} + - ALWATR_DEBUG=${FORM_REGISTRATION_DEBUG:-} + + logging: + driver: json-file + options: + max-size: '10m' + max-file: '2' + + labels: + traefik.enable: true + traefik.port: 80 + traefik.frontend.rule: Host:${FORM_REGISTRATION_DOMAIN} + traefik.frontend.entryPoints: http, https + traefik.frontend.redirect.entryPoint: https + pwa: image: ghcr.io/alimd/soffit-pwa:${PWA_VERSION:-next} diff --git a/cloud/classic/soffit-pwa/env/example.env b/cloud/classic/soffit-pwa/env/example.env index a92c16fb06..217930e3ff 100644 --- a/cloud/classic/soffit-pwa/env/example.env +++ b/cloud/classic/soffit-pwa/env/example.env @@ -1,4 +1,12 @@ -U2FsdGVkX1/XLv/cJZgBXKSOMQEV/GgZ4TxQbEhx4SOiY0y6KHFM+4RrW4UUOehh -yFisx7apY3qUiwAw8GpOzOQQZ4ciVt61ZewMK973ujmQnNgdDRN78AXaeIbujhtQ -p63YL5HLF6feDqLUW3VUo/AEgTuSDw6xrC10OIDbfmEsUQaoyL6gGOub5Atz60UG -DsGIL4FfFcP2TgysU+CCaLV89/Ut7/TpD992R+0eaNM= +U2FsdGVkX19GVqFjJsxNx6k2ucfOlsIAwzJf6ebURgNSXgWTv73QDvwu3ODDlWEh +rZZjUcBvCGzH1T4I+CDKlgpKntMVH3whFUir7xrhzfYSkSkruVtHBXE70uF9nvI6 +zHtEvoKuOvX0J+cRMbqCpDjy0C54IOsJBiTRFpCy+hsbhDqczSGJkeOxN8Z16QjJ +Xb0uoLfYRFtsnlQpj+W7W4Ro9IHMdGZZWmmOIUd1zp6SbQjZOmwTnaPhW4V6f+/A +sm21G+cdFnrw4Qw2qYqDEm8lW53qc75pnL2M+ajlWBBTVf4TS467usySljzO45Bk +/9fsG1HQ9myzP/d2YMMzEhXMmXDtbOFZDjN3y5usaFUSaXE8jwzKbLqWzcJO6+zC +iJFgstGLdByKgLBYnuUDXvrbFN/NP8aFyMnR8RJO5B+p7xAKrWeG7kmMZsUHWhxB +UoDjMW08/RFwUnmEqGPcFGXm8NYHLT5LQMhN0BbcKNYnLFI20nbeoulxFN2QTNAF +/fNyX9qUyWcWwPIW3f4BFaNTXP+n2Wrh9ljv3bqGBcXm1c5Bc3QA0oFY1D457DMI +uYFI28kCpEoBfT3HBXm7+8p38y9fBxbubg2jGCgzwOo+/9lGk1spBXkUTn8rJgDh +f+W3ZOEGp1/+ppxGno1mAz9XP5v2xDBTV7HCSjB+X6LC6IgAQLtagTZQ8rVgExvl +nuQEz1mmpbWN9pQHqGX09Z2fyUO0x+DEMHL4v31MKqCv7NtJ4LQAqiIgdWJJUFdj diff --git a/cloud/labs/shadowsocks/env/example.env b/cloud/labs/shadowsocks/env/example.env index d2deccb7fe..2db471833f 100644 --- a/cloud/labs/shadowsocks/env/example.env +++ b/cloud/labs/shadowsocks/env/example.env @@ -1,3 +1,3 @@ -U2FsdGVkX1+MMs7L48Fvn2VWtVqe2E084L9WB5t72vCMS5ByGP7cStb49a8Crv+W -o7KsNyBsUR/hsy5gG9cIshOsu4BByGUqrHEs61AG6mdrkdKb84tisROCiWCw6rBK -DBINUfQ4ajst99KA03zSyw== +U2FsdGVkX1/dgJLZ1IFulD/bFQHF9b3Vwj4qRkVV+cmajOz9l/RQssT36L12RPMx +qapfetDBDyzhWcwOWK22Ehz45Bh6zn6CE/D2ylhVGncoEXviBVCTS9mroN6/4Kqv +tw88yrm8wHUVQemEY69zXA==