Browse Source

Dockerize

master
Apostolos Fanakis 5 years ago
parent
commit
10a905f543
  1. 18
      docker-compose.yml
  2. 5
      env/apella-guide.env.example
  3. 0
      src/assets/chrome.png
  4. 0
      src/assets/firefox.png
  5. 0
      src/darkMode.js
  6. 0
      src/index.css
  7. 0
      src/index.html
  8. 0
      src/markdown.css

18
docker-compose.yml

@ -0,0 +1,18 @@
version: '3.7'
services:
apella-guide:
image: nginx
container_name: apella-guide
restart: always
env_file:
- ./env/apella-guide.env
ports:
- "8080:80"
volumes:
- ./src/:/usr/share/nginx/html:ro
# Networks in use
networks:
apella-net:
driver: bridge

5
env/apella-guide.env.example

@ -0,0 +1,5 @@
VIRTUAL_HOST=guide.apella.tk
VIRTUAL_PORT=8000
LETSENCRYPT_HOST=guide.apella.tk
LETSENCRYPT_EMAIL=apotwohd@gmail.com
NGINX_PORT=8000

0
assets/chrome.png → src/assets/chrome.png

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

0
assets/firefox.png → src/assets/firefox.png

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

0
darkMode.js → src/darkMode.js

0
index.css → src/index.css

0
index.html → src/index.html

0
markdown.css → src/markdown.css

Loading…
Cancel
Save