You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am need to run some pre-built/pre-server start command
E.g run some dB query on server start, e.t.c, also maybe an initi function
Sharing of dB struct instance(this make using custom dB more easy
Also how does env works within the server is it just like normal go application
Lastly is there a way to use docker compose with encore( instead of building and hosting images before usage in compose file) like a normal docker and docker compose flow
The text was updated successfully, but these errors were encountered:
If you want to customize the initialization behavior of your service, you can define a service struct and define custom initialization logic with that. See the service struct docs for more info.
I am need to run some pre-built/pre-server start command
E.g run some dB query on server start, e.t.c, also maybe an initi function
Sharing of dB struct instance(this make using custom dB more easy
Also how does env works within the server is it just like normal go application
Lastly is there a way to use docker compose with encore( instead of building and hosting images before usage in compose file) like a normal docker and docker compose flow
The text was updated successfully, but these errors were encountered: