-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (30 loc) · 839 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (30 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
version: "3.9"
services:
mssql:
image: mcr.microsoft.com/mssql/server:2019-CU13-ubuntu-20.04
restart: always
user: root
ports:
- 1433:1433
volumes:
- ./storage/database/data:/var/opt/mssql/data
environment:
- MSSQL_SA_PASSWORD=Admin123
- MSSQL_PID=Developer
- ACCEPT_EULA=Y
command: /bin/sh -c "(/opt/mssql/bin/sqlservr &) && sleep 10s && /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P Admin123 -d master -Q 'CREATE DATABASE campaign_keeper' && sleep infinity"
redis:
image: redis:6.2.6
restart: always
volumes:
- ./storage/cachingSystem/data:/data
ports:
- 6379:6379
environment:
- REDIS_PASSWORD=redis
# uncomment if you want to use adminer
# adminer:
# image: adminer
# restart: always
# ports:
# - 8181:8080