Browse Source

refactor: change values for staging

develop
Apostolos Fanakis 4 years ago
parent
commit
d41254915b
Signed by: Apostolof GPG Key ID: 8600B4C4163B3269
  1. 2
      Dockerfile
  2. 10
      docker-compose.yml
  3. 6
      env/concordia-guide.env
  4. 2
      lighttpd.conf
  5. BIN
      src/favicon.ico
  6. 10
      src/index.html

2
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

10
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

6
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

2
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",

BIN
src/favicon.ico

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

10
src/index.html

@ -3,6 +3,7 @@
<head>
<meta charset="utf-8">
<title>Concordia usage guide</title>
<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css" href="markdown.css">
<script src="darkMode.js"></script>
</head>
@ -99,9 +100,10 @@
<strong>→ Type in the options:</strong>
</p>
<ul>
<li class="has-line-data" data-line-start="26" data-line-end="27">Network name: <code>concordia</code></li>
<li class="has-line-data" data-line-start="27" data-line-end="28">New RPC URL: <code>https://83.212.109.171/</code></li>
<li class="has-line-data" data-line-start="28" data-line-end="30">The rest of the options can be skipped</li>
<li class="has-line-data" data-line-start="26" data-line-end="27">Network name: <code>concordia-staging</code></li>
<li class="has-line-data" data-line-start="27" data-line-end="28">New RPC URL: <code>https://staging.ganache.ecentrics.net</code></li>
<li class="has-line-data" data-line-start="28" data-line-end="29">Chain ID: <code>1337</code></li>
<li class="has-line-data" data-line-start="29" data-line-end="30">The rest of the options can be skipped</li>
</ul>
<p class="has-line-data" data-line-start="30" data-line-end="31">
<strong>→ Click save and wait until connected to the network.</strong>
@ -110,7 +112,7 @@
<!-- Header "Visit Concordia" -->
<h3 class="code-line" data-line-start=32 data-line-end=33 >
<a id="Visit_Concordiahttpswwwconcordiaecentricsnet_and_enjoy_free_uncensored_communication__32"></a>
Visit <a href="https://www.concordia.ecentrics.net" target="_blank">Concordia</a> and enjoy free, uncensored communication <span class="darkmode-ignore">🥳</span>
Visit <a href="https://staging.concordia.ecentrics.net" target="_blank">Concordia</a> and enjoy free, uncensored communication <span class="darkmode-ignore">🥳</span>
</h3>
<div id="blank-space-in-the-end" style="height: 15vh"/>

Loading…
Cancel
Save