New to Docker and my first post!
My container installs and is up and running without errors. It’s supposed to store various files locally per the volume mapping below. However nothing ever shows up in the “data” directory!
The data directory is in the same directory my compose.yml file is ran from.
I used chmod -R 7777 to free up the “data” directory.
I ran: docker compose run --rm weewx which is supposed to regenrate the weewx config files, it runs with out error and lists out all the files it copied to the “data” directory. Still nothing
I checked the “data” for hidden files, nothing.
I tried multiple different weewx docker images.
I have another container with a different application and data is being stored locally as expected
I am sure I am missing something simple but after hours of trying I am stumped!
Any suggestions would be most welcome!
My set up:
- Debian 13 CLI
- Docker 29.1.2
- felddy/weewx:5. image
My Compose file:
services:
weewx:
image: felddy/weewx:5
container_name: weewx
privileged: true
restart: always
volumes:
- ./data:/home/weewx/weewx.sbd
- ./data:/home/weewx/public_html
- ./data:/home/weewx/weewx.conf
environment:
- TZ=America/Chicago # Set your desired timezone
ports:
- 8080:80