Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile + docker-compose.yaml build/running #93

Merged

Commits on Dec 17, 2020

  1. 🏗️ Dockerfile + docker-compose.yaml build/running

    Add Dockerfile for building with the latest and the docker-compose,
    building the site and running.
    
    $ docker-compose up
    Starting docsy-example_site_1 ... done
    Attaching to docsy-example_site_1
    site_1  | Start building sites …
    site_1  |
    site_1  |                    | FA | NO | EN
    site_1  | -------------------+----+----+-----
    site_1  |   Pages            | 18 | 76 | 46
    site_1  |   Paginator pages  |  0 |  0 |  0
    site_1  |   Non-page files   |  3 |  1 |  3
    site_1  |   Static files     | 38 | 38 | 38
    site_1  |   Processed images |  8 |  2 |  7
    site_1  |   Aliases          |  3 |  0 |  3
    site_1  |   Sitemaps         |  2 |  1 |  1
    site_1  |   Cleaned          |  0 |  0 |  0
    site_1  |
    site_1  | Built in 837 ms
    site_1  | Watching for changes in /src/{assets,content,layouts,package.json,themes}
    site_1  | Watching for config changes in /src/config.toml, /src/themes/docsy/config.toml
    site_1  | Environment: "DEV"
    site_1  | Serving pages from memory
    site_1  | Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
    site_1  | Web Server is available at //localhost:1313/ (bind address 0.0.0.0)
    site_1  | Press Ctrl+C to stop
    
    Open a new terminal and test it
    
    $ curl -X HEAD -i localhost:1313
    Warning: Setting custom HTTP method to HEAD with -X/--request may not work the
    Warning: way you want. Consider using -I/--head instead.
    HTTP/1.1 200 OK
    Accept-Ranges: bytes
    Content-Length: 27590
    Content-Type: text/html; charset=utf-8
    Last-Modified: Thu, 17 Dec 2020 08:47:13 GMT
    Date: Thu, 17 Dec 2020 08:47:25 GMT
    marcellodesales authored and Marcello de Sales committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    c65ffec View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2021

  1. Configuration menu
    Copy the full SHA
    38d07a5 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2021

  1. 📝 README: add steps with docker-compose

    Running with docker-compose is simpler for this case
    marcellodesales committed Feb 4, 2021
    Configuration menu
    Copy the full SHA
    b23fd04 View commit details
    Browse the repository at this point in the history