• 3 Posts
  • 24 Comments
Joined 1 year ago
cake
Cake day: July 15th, 2023

help-circle
  • Your files are now being placed in /opt/wireguard-server/config, not in the folder you have the docker-compose file, can you see them there with ls?

    If you want thee files to be created in the directory where your compose file is you should change the path in the volume like so (notice the ./ on the left side of the colon):

    - ./config:/config
    

    Volume paths are specified with local-path:container-path, so changing the part before the colon specifies where your files are, and changing the part after the colon specifies where the container sees the files

    Hope this makes sense, but I just woke up, so it might not