File: docker-compose.yml

package info (click to toggle)
pymssql 2.1.4+dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 952 kB
  • sloc: python: 2,872; sh: 240; makefile: 148; ansic: 7
file content (48 lines) | stat: -rw-r--r-- 811 bytes parent folder | download | duplicates (3)
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
version: '2'

services:
  sqlserver:
   image: microsoft/mssql-server-linux
   environment:
     - ACCEPT_EULA=Y
     - SA_PASSWORD=YourStrong!Passw0rd
   ports:
    - 1433:1433
   logging:
     driver: "none"
   networks:
     vpcbr:
       ipv4_address: 10.5.0.5

  pymssql_x86_x64:
    image: quay.io/pypa/manylinux1_x86_64
    depends_on:
      - sqlserver
    volumes:
      - .:/io
    command:
      tail -f /dev/null
    networks:
      vpcbr:
        ipv4_address: 10.5.0.6

  pymssql_i686:
    image: quay.io/pypa/manylinux1_i686
    depends_on:
    - sqlserver
    volumes:
    - .:/io
    command:
      tail -f /dev/null
    networks:
      vpcbr:
        ipv4_address: 10.5.0.7

networks:
  vpcbr:
    driver: bridge
    ipam:
     config:
       - subnet: 10.5.0.0/16
         gateway: 10.5.0.1