File size: 557 Bytes
af136d8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
services:
  mssql:
    build: .
    container_name: ${CONTAINER_NAME:-mssql-sec-fsnds}
    ports:
      - "${HOST_PORT:-1434}:1433"
    volumes:
      # named volume for /var/opt/mssql (system DBs, logs, etc.)
      - SecDbFts:/var/opt/mssql
      # host bind mount for the user database files
      - ${HOST_DATA_DIR}:/var/opt/mssql/data
      # optional staging/insert bind mounts - safe to remove if not used
      - ./staging:/data/staging:ro
      - ./insert:/data/insert:ro
    env_file:
      - .env
    restart: unless-stopped

volumes:
  SecDbFts: