-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
58 lines (54 loc) · 1.48 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
---
version: "3.7"
# This Docker composition file is used to build and test the container
secrets:
postgres_password:
file: ./src/secrets/postgres-password
postgres_username:
file: ./src/secrets/postgres-username
private_ssh_key:
file: ./src/secrets/private-ssh-key
rdp_password:
file: ./src/secrets/rdp-password
rdp_username:
file: ./src/secrets/rdp-username
vnc_password:
file: ./src/secrets/vnc-password
vnc_username:
file: ./src/secrets/vnc-username
windows_sftp_base:
file: ./src/secrets/windows-sftp-base
services:
guacscanner:
# Run the container normally
build:
# VERSION must be specified on the command line:
# e.g., --build-arg VERSION=0.0.1
context: .
dockerfile: Dockerfile
image: cisagov/guacscanner
init: true
restart: always
secrets:
- source: postgres_password
target: postgres-password
- source: postgres_username
target: postgres-username
- source: private_ssh_key
target: private-ssh-key
- source: rdp_password
target: rdp-password
- source: rdp_username
target: rdp-username
- source: vnc_password
target: vnc-password
- source: vnc_username
target: vnc-username
- source: windows_sftp_base
target: windows-sftp-base
guacscanner-version:
# Run the container to collect version information
image: cisagov/guacscanner
init: true
restart: "no"
command: --version