Skip to content

[Question]: issue with last step #1070

@zytancl

Description

@zytancl

Your Question

hello, this is my first time using docker compose so i'm kinda lost

i had edited the .env file while following your youtube tutorial - i had set the password under "PostgreSQL Database Settings", changed the public url to "http://localhost:8080" (cause idk where you got yours so i just used the one suggested for local dev), and the hex for "SPARKY_FITNESS_API_ENCRYPTION_KEY"

however, when i tried doing the last step, this appeared:

time="2026-04-04T18:02:17+08:00" level=warning msg="The \"SPARKY_FITNESS_ADMIN_EMAIL\" variable is not set. Defaulting to a blank string."
time="2026-04-04T18:02:17+08:00" level=warning msg="The \"SPARKY_FITNESS_EMAIL_HOST\" variable is not set. Defaulting to a blank string."
time="2026-04-04T18:02:17+08:00" level=warning msg="The \"SPARKY_FITNESS_EMAIL_PORT\" variable is not set. Defaulting to a blank string."
time="2026-04-04T18:02:17+08:00" level=warning msg="The \"SPARKY_FITNESS_EMAIL_PASS\" variable is not set. Defaulting to a blank string."
time="2026-04-04T18:02:17+08:00" level=warning msg="The \"SPARKY_FITNESS_EMAIL_USER\" variable is not set. Defaulting to a blank string."
time="2026-04-04T18:02:17+08:00" level=warning msg="The \"SPARKY_FITNESS_EMAIL_FROM\" variable is not set. Defaulting to a blank string."
time="2026-04-04T18:02:17+08:00" level=warning msg="The \"SPARKY_FITNESS_EMAIL_SECURE\" variable is not set. Defaulting to a blank string."
[+] pull 3/3
 ✔ Image codewithcj/sparkyfitness_server:latest Pulled                                                              3.6s
 ✔ Image codewithcj/sparkyfitness:latest        Pulled                                                              3.7s
 ✔ Image postgres:18.3-alpine                   Pulled                                                              3.6s
time="2026-04-04T18:02:21+08:00" level=warning msg="The \"SPARKY_FITNESS_EMAIL_SECURE\" variable is not set. Defaulting to a blank string."
time="2026-04-04T18:02:21+08:00" level=warning msg="The \"SPARKY_FITNESS_EMAIL_PASS\" variable is not set. Defaulting to a blank string."
time="2026-04-04T18:02:21+08:00" level=warning msg="The \"SPARKY_FITNESS_ADMIN_EMAIL\" variable is not set. Defaulting to a blank string."
time="2026-04-04T18:02:21+08:00" level=warning msg="The \"SPARKY_FITNESS_EMAIL_HOST\" variable is not set. Defaulting to a blank string."
time="2026-04-04T18:02:21+08:00" level=warning msg="The \"SPARKY_FITNESS_EMAIL_USER\" variable is not set. Defaulting to a blank string."
time="2026-04-04T18:02:21+08:00" level=warning msg="The \"SPARKY_FITNESS_EMAIL_FROM\" variable is not set. Defaulting to a blank string."
time="2026-04-04T18:02:21+08:00" level=warning msg="The \"SPARKY_FITNESS_EMAIL_PORT\" variable is not set. Defaulting to a blank string."
[+] up 1/1
 ✘ Container s... Error response from daemon: mkdir C:\Windows\System32\sparkyfitness\postgresql: Access is denied. 0.2s
Error response from daemon: mkdir C:\Windows\System32\sparkyfitness\postgresql: Access is denied.

i had no idea how to grant access when i'm already running cmd with admin, how do i bypass this?

note: i edited the entire post cause i found out why and used this for another issue

Context

Provide any relevant context that might help us understand and answer your question. This could include:

  • setting up server

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions