* Add delivery api toggle * Add Dockerfile * add docker compose template * Ensure no duplicate database containers * Remove wwwroot/umbraco permission check We don't need write access to this folder * Provide environment variables from dokcer-compose * Build as debug from compose The compose file is intended to be used for local dev * Don't store password in docker files Still not great to store it in .env but it's fine for dev * Add additional template files * Add docker ignore file * Enable delivery API in settings too * Enable models builder mode toggle * Add WIP for umbraco release option * Add starterkit option * Add option to chose LTS or latest * Add development mode option * Add descriptions * Add display names * Add backoffice development at explicit default * Rearrange DevelopmentMode before ModelsBuilderMode * Allow specifying a port for the compose file * Add some notes * Move starterkits into its own template * Don't update version * Remove test configuration from Dockerfile * Add default modelsbuilder option * Update descriptions * overwrite default values in IDE development * Remove obsolete runtime minification * Try and fix healthcheck * Don't use post action for starterkit otherwise it won't work with Rider, also make the version 13.0.0 if LTS is chosen * Move UmbracoVersion above FinalVersion Otherwise, rider will use UmbracoVersion for some weird reason * Fix healthcheck * Use else instead of second if for modelsbuilder * Obsolete UmbracoVersion * Remove custom release option * Use forward slashes for volumes * Add MSSQL_SA_PASSWORD env variable * Temporarily limit acceptance tests so it works * Try again * Disable SQLServer integration tests * Set UseHttps to false in appsettings.Development.json You still want to be able to use non-https when developing locally * Fix LTS version LTS still needs installer endpoints added * Update permissions of wwwroot/umbraco for v13 sites * Fix conditional in Program.cs * Undo pipeline shenanigans
22 lines
410 B
Docker
22 lines
410 B
Docker
FROM mcr.microsoft.com/azure-sql-edge:latest
|
|
|
|
ENV ACCEPT_EULA=Y
|
|
|
|
USER root
|
|
|
|
RUN mkdir /var/opt/sqlserver
|
|
|
|
RUN chown mssql /var/opt/sqlserver
|
|
|
|
ENV MSSQL_BACKUP_DIR="/var/opt/mssql"
|
|
ENV MSSQL_DATA_DIR="/var/opt/mssql/data"
|
|
ENV MSSQL_LOG_DIR="/var/opt/mssql/log"
|
|
|
|
EXPOSE 1433/tcp
|
|
COPY setup.sql /
|
|
COPY startup.sh /
|
|
COPY healthcheck.sh /
|
|
|
|
ENTRYPOINT [ "/bin/bash", "startup.sh" ]
|
|
CMD [ "/opt/mssql/bin/sqlservr" ]
|