-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
70 lines (65 loc) · 1.64 KB
/
docker-compose.yml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
version: "3.7"
services:
freetds-dev:
image: blieusong/freetds-dev-c
hostname: freetds-dev-c
working_dir: /workspace
volumes:
- ./config/freetds.conf:/usr/local/etc/freetds.conf
# workspace
- ${HOME}/docker/workspace/:/workspace/
# Bring Git setup to the container
- ${HOME}/.gitconfig:/root/.gitconfig
# Keep bash history
# - ${HOME}/docker/config/.bash_history:/root/.bash_history
# Keep VSCode's plugin
- ${HOME}/docker/config/.vscode-server:/root/.vscode-server
networks:
tds-bridge:
# to enable gdb
cap_add:
- SYS_PTRACE
tty: true
mssql-server:
image: mcr.microsoft.com/mssql/server:latest
hostname: mssql-server
environment:
- MSSQL_SA_PASSWORD=micro50ft!
- MSSQL_LCID=1033
- MSSQL_COLLATION=Latin1_General_100_BIN2
- MSSQL_MEMORY_LIMIT_MB=4096
- MSSQL_BACKUP_DIR=/var/opt/mssql/data/
- MSSQL_DATA_DIR=/var/opt/mssql/data/
- MSSQL_LOG_DIR=/var/opt/mssql/data/
- MSSQL_DUMP_DIR=/var/opt/mssql/data/
- ACCEPT_EULA=y
- MSSQL_ENABLE_AGENT=false
volumes:
- mssql-data:/var/opt/mssql/data
user: "root:root"
networks:
tds-bridge:
ports:
- 1433:1433
tty: true
ase-server:
image: blieusong/sybase-ase
hostname: ase-server
working_dir: /home/sybase
volumes:
- sybase-data:/data
networks:
tds-bridge:
ports:
- 5000:5000
tty: true
entrypoint: "/home/sybase/bin/entrypoint.sh"
volumes:
sybase-data:
mssql-data:
networks:
tds-bridge:
ipam:
driver: default
config:
- subnet: "172.24.0.0/16"