@@ -36,19 +36,19 @@ docker run cisagov/code-gov-update:0.3.0-rc.4
36
36
37
37
### Running with Docker Compose ###
38
38
39
- 1 . Create a ` docker- compose.yml` file similar to the one below to use [ Docker Compose] ( https://docs.docker.com/compose/ ) .
39
+ 1 . Create a ` compose.yml ` file similar to the one below to use [ Docker Compose] ( https://docs.docker.com/compose/ ) .
40
40
41
41
``` yaml
42
42
---
43
- version : ' 3.7 '
43
+ name : code-gov-update
44
44
45
45
services :
46
46
update :
47
- image : cisagov/code-gov-update:0.3.0-rc.4
48
- init : true
49
47
environment :
50
48
- AWS_CONFIG_FILE=path/to/aws_config
51
49
- AWS_PROFILE=default
50
+ image : cisagov/code-gov-update:0.3.0-rc.4
51
+ init : true
52
52
` ` `
53
53
54
54
1. Start the container and detach:
@@ -78,11 +78,11 @@ environment variables. See the
78
78
Please see the [documentation](https://github.com/LLNL/scraper#config-file-options)
79
79
for creating your own `scraper.json` configuration file.
80
80
81
- 1. Then add the secrets to your `docker- compose.yml` file :
81
+ 1. Then add the secrets to your `compose.yml` file :
82
82
83
83
` ` ` yaml
84
84
---
85
- version: '3.7'
85
+ name: code-gov-update
86
86
87
87
secrets:
88
88
aws_config:
@@ -92,16 +92,16 @@ environment variables. See the
92
92
93
93
services:
94
94
update:
95
+ environment:
96
+ - AWS_CONFIG_FILE=/run/secrets/aws_config
97
+ - AWS_PROFILE=default
95
98
image: cisagov/code-gov-update:0.3.0-rc.4
96
99
init: true
97
100
secrets:
98
101
- source: aws_config
99
102
target: aws_config
100
103
- source: scraper_config
101
104
target: scraper_config.json
102
- environment:
103
- - AWS_CONFIG_FILE=/run/secrets/aws_config
104
- - AWS_PROFILE=default
105
105
` ` `
106
106
107
107
# # Updating your container ##
@@ -161,9 +161,9 @@ If you want to add or remove dependencies you would update the `src/Pipfile` fil
161
161
and then update dependencies as you would above.
162
162
163
163
> [!NOTE]
164
- > You should only specify packages that are explicitly needed for your Docker
165
- > configuration. Allow [Pipenv] to manage the dependencies of the specified
166
- > packages.
164
+ > You should only specify packages that are direct requirements of
165
+ > your Docker configuration. Allow [Pipenv] to manage the dependencies
166
+ > of the specified packages.
167
167
168
168
# # Image tags ##
169
169
0 commit comments