Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ministryofjustice/opg-docker
https://github.com/ministryofjustice/opg-docker
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ministryofjustice/opg-docker
- Owner: ministryofjustice
- License: mit
- Archived: true
- Created: 2015-01-16T19:45:52.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-10-26T08:42:16.000Z (about 6 years ago)
- Last Synced: 2024-08-02T12:50:50.086Z (3 months ago)
- Language: Shell
- Size: 4.81 MB
- Stars: 5
- Watchers: 62
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - ministryofjustice/opg-docker - (others)
README
# opg-docker
Usage
---
To run a build run```
make
```By default this will use the regitry URL registry.service.opg.digital. To overwrite use
```
make registryUrl=""
```If using authentication, ensure the docker config is correctly configured to support this.
Q&A
---Why does every service creates /var/log structure at runtime?
I't quite common that developer will run the container and mount /var/log
So make sure that every service started will pre-create its log directory structure on start time.
Instead of relying on RUN directives to do so.How to run application as specific user? Shall I use `su foo -c "ls"`?
It's recommended to use setuser.
i.e. `exec /sbin/setuser memcache /usr/bin/memcached`prerequisites
-------------
- docker
- make
- semvertag (https://github.com/ministryofjustice/semvertag)TODO
----
pick something to generate config files