• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    fog in a docker container - data storage

    Scheduled Pinned Locked Moved
    General
    2
    2
    981
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      Lebowski
      last edited by

      Hi,

      i’ve installed FOG into a docker container. Now i’m thinking about data storage (Docker Volumes or bind mounts). Which fog-directories will store variable data?
      I think, it must be:

      • the Image directory (/image)
      • the tftp dir (/tftpboot)
      • the database (/var/lib/mysql)
      • snapins (/opt/fog/snapins/)

      Are there any other interesting directories? Maybe it would be a good idea to use a docker volume for the entire fog-folder (/opt/fog)

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @Lebowski
        last edited by

        @lebowski while its not dynamic data fog does install/alter files in

        /var/www/html/fog
        /etc/<apache_config>

        You could (might want to) consolidate /images and move it into /opt/fog/images you can do that with a loop mount or when you install FOG point to that location instead of the default location of /images.

        If you are going to use dnsmasq for your setup then /etc/dnsmasq.conf and /etc/dnsmasq.d

        The other issue is installing/upgrading fog. If you use the github method you need a location to clone the repository.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post

        221

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project