From d41254915befb89c6ccfe68e6cfd28d7b9884f64 Mon Sep 17 00:00:00 2001 From: apostolof Date: Tue, 23 Feb 2021 21:45:11 +0200 Subject: [PATCH] refactor: change values for staging --- Dockerfile | 2 +- docker-compose.yml | 10 ++++++---- env/concordia-guide.env | 6 +++--- lighttpd.conf | 2 +- src/favicon.ico | Bin 0 -> 15086 bytes src/index.html | 10 ++++++---- 6 files changed, 17 insertions(+), 13 deletions(-) create mode 100644 src/favicon.ico diff --git a/Dockerfile b/Dockerfile index 3f98a34..466d625 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN rc-update add lighttpd default FROM base as final COPY lighttpd.conf /etc/lighttpd/lighttpd.conf -EXPOSE 8000 +EXPOSE 8010 STOPSIGNAL SIGTERM diff --git a/docker-compose.yml b/docker-compose.yml index bcce077..b271411 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,18 +3,20 @@ version: '3.7' services: concordia-guide: build: ./ - container_name: concordia-guide + container_name: concordia-guide-staging restart: always env_file: - ./env/concordia-guide.env expose: - - "8000" + - "8010" + ports: + - 8010:8010 volumes: - ./src/:/var/www/servers/concordia-guide/ networks: - - ecentrics_concordia_production_network + - ecentrics_concordia_staging_network # Networks in use networks: - ecentrics_concordia_production_network: + ecentrics_concordia_staging_network: external: true diff --git a/env/concordia-guide.env b/env/concordia-guide.env index 0d2036a..27b3b36 100644 --- a/env/concordia-guide.env +++ b/env/concordia-guide.env @@ -1,4 +1,4 @@ -VIRTUAL_HOST=guide.concordia.ecentrics.net -VIRTUAL_PORT=8000 -LETSENCRYPT_HOST=guide.concordia.ecentrics.net +VIRTUAL_HOST=staging.guide.concordia.ecentrics.net +VIRTUAL_PORT=8010 +LETSENCRYPT_HOST=staging.guide.concordia.ecentrics.net LETSENCRYPT_EMAIL=ecentricsgr@gmail.com diff --git a/lighttpd.conf b/lighttpd.conf index 55c7369..c7baa21 100644 --- a/lighttpd.conf +++ b/lighttpd.conf @@ -1,6 +1,6 @@ server.document-root = "/var/www/servers/concordia-guide/" -server.port = 8000 +server.port = 8010 mimetype.assign = ( ".html" => "text/html", diff --git a/src/favicon.ico b/src/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..e246a5745bf4e3795f2982e6e7364ecc6ab2392e GIT binary patch literal 15086 zcmd6ud5l-p6@Z^0pdcUuvbZqFQWQ`GK~c-#iV;Pqh&!SMs^U@wMaBB7yQPQ=YF$9w zrNkv_tuZcG>x#BxQj_)%Wn!Cj(pE#18l;T#`hAagUw-Q_%rM|2pXa{2opbL!_uTv5 z52I*@sBJW2M1-u0Rt$=wF;Ns%Ri)3nM$sDbc12o#{*F;}3l)Y?hbGYsFhBVlxJk73 zf2UsX@AfbiK7nUpf7qe5^|rKsZG@rlAiN82!K?5-%!3{+)zMn*v8^Y}hmYVc=np@K zaZn8}!W%FJc4{pK3?&fmfqa9@sv5#W4YXF9c0`^Q$Yhq9gFRB)dgr+y4=E7fmqzI}o= zu7tPYbVz&!ITsA+&TBh33~mPZvh(}X&FQ61FIWKj)MD6Yb8VVhPG4295dH~Ep;vxe zo-_MHK6&oxYoG!C1bcQ>}S_wCw`3z}Wp5yadZZ|H=9#U0^@Y z&gI!~F+2)4fpw09g8g02GU|BtO$5)4SHO1Jo+{TSKaaXQ!jYi8uft@}Pu-uR;XGIb zM}dBIIk*ox!0~Vej04Ng0O!=X@H}=L_L0Qbe7(hK>U4uk;6v~{^jxeMZz<~z*TNIv z`eo-O={DfrO#Bi#7_6($-UqI=d-Y`K8f+o0{rl%V@6EGkz#Pyv=eD9vwxfI?cpiE# zUI}H-aPkjcf1>wf}%hbtrRQ4uU7axph4| zH&TB-<@Z)9FV3f~^Q;XIfor`YeJ<;RW!g7tf2dENJAv!?CcFSgLdhN{&pmm6Xx9`; z{oUbC_zsppqrRHoCv}@-e`rJfp5PwUr|yBlp-joMKK)>RUZphk^ih4tF^>m*w5n45 za{1KXBKt!hwA&Z%ht*(w?rs^;>!A5N82gXAw*@NV{UeAO3$NQ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P!yWkmk3@YA5C{w@VPtLwz8_&iqV}fz(63F~BwOgMszPb*sm$7|c&}R3q zcDtU#Qt4gfTo?e^Hy+Y$;bzd^OTMp>=RD2;@?J zpW?RU>0|R?8Mt3;qy7^^UDA%#I-^3~mdLdIbfoJ(6$<8z=VL+NI|{rvoeXE>>)^Ry z{_@M3nx>B`xCY##V<0(`knWA)_Jh>7?tMN9M~pJ_I%isSWs0jc35OYZx)p&^&! z<4i3%bu~5X$ozg|eH<^~L&HPxpV~O)vr8O*4r{=4;4{)|at+nBt2V5yU0b(tJvBGf z=W-2kE{<1G$cK@5J(3RNhBzLA@xIJfLH3;@i;QG8^2gZQfw91tb1@h%HrtvyJAh}{ zY;eyQpWVCeV`E>%?+BC`CyjTL;21F8p9kUpwdhUSK8zpPy9a6S5avw=_q6fJK0G7b zzn+oyWsKF=hk$yF>)NZ{X)p?o0R3G5?+ksR2lRro!T745s?+f$zhxrrcO)2-vN4*5 z@Y|wsOq;ZGe>fg`f_?iwH2}0TJI_gH?Za}B*AWhd3&4Aebxs4@o&;GeBVE$oe#m#+ zjzhcE?|40v?bC52XC<<1`(R7jm+?va`-5ZiY%)C%217Fb(1z!NdpFOvH{L1F1pQ9` z)4s#uKydE7OE~VC;QWR6KG)BJN@hUvLfeM|E`v=R#Yx-Lb3N zc|96tq)bJ+USr@Wu#J6Zzcrf%eJ|0S&W&+(8mM;le7#W+ftHtGNB(H`|En|#($ X*E`%Gm=6bqxi2R-ecSYVXY=?!5znak literal 0 HcmV?d00001 diff --git a/src/index.html b/src/index.html index 71124da..071d6b2 100644 --- a/src/index.html +++ b/src/index.html @@ -3,6 +3,7 @@ Concordia usage guide + @@ -99,9 +100,10 @@ → Type in the options:

    -
  • Network name: concordia
  • -
  • New RPC URL: https://83.212.109.171/
  • -
  • The rest of the options can be skipped
  • +
  • Network name: concordia-staging
  • +
  • New RPC URL: https://staging.ganache.ecentrics.net
  • +
  • Chain ID: 1337
  • +
  • The rest of the options can be skipped

→ Click save and wait until connected to the network. @@ -110,7 +112,7 @@

- Visit Concordia and enjoy free, uncensored communication 🥳 + Visit Concordia and enjoy free, uncensored communication 🥳