Files
MABR_cicdTest/docker-compose.yml
T
mathias.bruun 67917795cf
CICD-S251/MABR_cicdTest/pipeline/head This commit looks good
Create docker-compose.yml
2026-11-03 13:12:04 +01:00

61 lines
1.9 KiB
YAML

# Execute this from terminal or powershell
# You must place this file in a directory
# and change your working directory to that directory
# Call: docker compose -f .\docker-compose.yml up -d
services:
mssqlServer:
container_name: mssqlServer
image: mcr.microsoft.com/mssql/server:2022-latest
restart: always
ports:
- "8080:8080"
# - "135:135"
# - "51000:51000"
environment:
ACCEPT_EULA: "Y"
SA_PASSWORD: "!Password"
MSSQL_RPC_PORT: "135"
MSSQL_DTC_TCP_PORT: "51000"
# mariadb:
# image: mariadb
# restart: always
# container_name: mariadb
# ports:
# - "3306:3306"
# environment:
# MARIADB_ROOT_PASSWORD : 12tf56so
# MARIADB_USER : builder
# MARIADB_PASSWORD : 12tf56so
# MARIADB_DATABASE : Q
# security_opt:
# - seccomp:unconfined
# postgres:
# image: postgres
# container_name: postgres
# restart: always
# ports:
# - 5432:5432
# # set shared memory limit when using docker compose
# shm_size: 128mb
# # or set shared memory limit when deploy via swarm stack
# #volumes:
# # - type: tmpfs
# # target: /dev/shm
# # tmpfs:
# # size: 134217728 # 128*2^20 bytes = 128Mb
# environment:
# POSTGRES_PASSWORD: example
#adminer:
## Adminer (formerly phpMinAdmin) is a full-featured database management tool written in PHP.
## Conversely to phpMyAdmin, it consist of a single file ready to deploy to the target server.
## Adminer is available for MySQL, PostgreSQL, SQLite, MS SQL, Oracle, Firebird, SimpleDB, Elasticsearch and MongoDB.
#image: adminer
#container_name: adminer
#restart: always
#ports:
# - 8080:8080