-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
35 lines (31 loc) · 804 Bytes
/
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
---
version: "3.7"
# This Docker composition file is used to build and test the container
secrets:
credentials:
file: ./src/secrets/credentials
services:
certboto:
# 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/certboto
init: true
restart: "no"
environment:
- AWS_DEFAULT_REGION=us-east-1
- BUCKET_NAME=cool-test-certs
- BUCKET_PROFILE=bucket-role
- DNS_PROFILE=dns-role
secrets:
- source: credentials
target: credentials
certboto-version:
# Run the container to collect version information
image: cisagov/certboto
init: true
restart: "no"
command: --version