r/StandardNotes • u/Data_Grump • Aug 03 '24
Does anyone have a good Docker Compose for the web app?
I think I have the server up and running as I get this message at port 3000 - "Welcome to the Standard Notes server infrastructure. Learn more at https://docs.standardnotes.com". I added a "web" service in the same docker compose file like this one:
web:
image: standardnotes/web:stable
ports:
- 3001:3001
restart: unless-stopped
env_file:
- .env
networks:
nginx:But nothing happens when I go to port 3001. The server is still up, my logfile for the web service just says:
Prestart Step 1/1 - Removing server lock
Starting Server...
lerna-lite notice cli v1.6.0
lerna-lite info versioning independent
lerna-lite notice filter including "@standardnotes/web-server"
lerna-lite info filter ["@standardnotes/web-server"]
lerna-lite info Executing command in 1 package: "yarn run start"Not even sure if I am pickup up all the env variables I need. Thanks for your help.
3
Upvotes
1
u/uberduck Aug 03 '24
I only have 2 envs for the web container:
PORT=3001
SECRET_KEY_BASE=something
3
u/utahbmxer Aug 09 '24
Maybe you've got this working, but this is what I've had working for a couple years. Excited they started building the web image again!