-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
executable file
·124 lines (114 loc) · 2.92 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# Copyright (C) 2021 CGI France
#
# This file is part of LINO.
#
# LINO is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# LINO is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LINO. If not, see <http:#www.gnu.org/licenses/>.
version: "3.7"
services:
vscode:
build:
context: .devcontainer
args:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
no_proxy: ${no_proxy}
volumes:
- ./:/workspace
- ~/.ssh:/home/vscode/.ssh:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- testdata:/workspace/tests/workspace
environment:
- TZ=Europe/Paris
- CGO_ENABLED=0
- NODE_EXTRA_CA_CERTS=/etc/ssl/certs/ca-certificates.crt
cap_add:
- SYS_PTRACE
security_opt:
- seccomp:unconfined
entrypoint: tail -f /dev/null
user: root:root
source:
image: frantiseks/postgres-sakila
restart: always
environment:
POSTGRES_PASSWORD: sakila
expose:
- 5432
dest:
image: frantiseks/postgres-sakila
restart: always
environment:
POSTGRES_PASSWORD: sakila
expose:
- 5432
db2:
image: ibmcom/db2
restart: always
privileged: true
environment:
DB2INST1_PASSWORD: sakila
DBNAME: sakila
LICENSE: accept
SAMPLEDB: "true"
volumes:
- ./test/data/db2:/var/custom
http-connector:
image: ghcr.io/cgi-fr/lino-connector:main
expose:
- 8080
ports:
- "8080:8080"
command:
- --spring.datasource.url=jdbc:postgresql://source:5432/postgres
- --spring.datasource.username=postgres
- --spring.datasource.password=sakila
lino:
build:
context: .
args:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
no_proxy: ${no_proxy}
environment:
- PASSWORD=sakila
- CGO_ENABLED=0
command: http
expose:
- 8000
volumes:
- testdata:/home/lino/
admin:
image: dpage/pgadmin4
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: user@domain.com
PGADMIN_DEFAULT_PASSWORD: SuperSecret
ports:
- 8080:80
httpmock:
image: mockserver/mockserver:mockserver-5.11.2
environment:
#MOCKSERVER_PROPERTY_FILE: /config/mockserver.properties
MOCKSERVER_INITIALIZATION_JSON_PATH: /config/default.json
volumes:
- testdata:/config
wsmock:
build:
context: .
dockerfile: tests/suites/wsmock/Dockerfile
command: 0.0.0.0:1080
expose:
- 1080
volumes:
testdata: