forked from jan/cacert-devsetup
Compare commits
1 commit
old_signer
...
master
Author | SHA1 | Date | |
---|---|---|---|
e575eed7ff |
2 changed files with 10 additions and 12 deletions
14
README.md
14
README.md
|
@ -55,17 +55,17 @@ Variable | Usage
|
||||||
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
echo "CATCHALL_MAILBOX_PASSWORD=$(openssl rand -base64 18)
|
echo "CATCHALL_MAILBOX_PASSWORD='$(openssl rand -base64 18)'
|
||||||
CLIENT_CERT_EMAIL=user@example.org
|
CLIENT_CERT_EMAIL=user@example.org
|
||||||
CLIENT_CERT_PASSWORD=$(openssl rand -base64 18)
|
CLIENT_CERT_PASSWORD='$(openssl rand -base64 18)'
|
||||||
CLIENT_CERT_USERNAME="John Doe"
|
CLIENT_CERT_USERNAME='John Doe'
|
||||||
MYSQL_WEBDB_PASSWORD=$(openssl rand -base64 18)
|
MYSQL_WEBDB_PASSWORD='$(openssl rand -base64 18)'
|
||||||
MYSQL_WEBDB_USER=cacert_dev
|
MYSQL_WEBDB_USER=cacert_dev
|
||||||
MYSQL_CATS_PASSWORD=$(openssl rand -base64 18)
|
MYSQL_CATS_PASSWORD='$(openssl rand -base64 18)'
|
||||||
MYSQL_CATS_USER=cats
|
MYSQL_CATS_USER=cats
|
||||||
MYSQL_MGR_PASSWORD=$(openssl rand -base64 18)
|
MYSQL_MGR_PASSWORD='$(openssl rand -base64 18)'
|
||||||
MYSQL_MGR_USER=cacert_mgr
|
MYSQL_MGR_USER=cacert_mgr
|
||||||
MYSQL_ROOT_PASSWORD=$(openssl rand -base64 18)" > .env
|
MYSQL_ROOT_PASSWORD='$(openssl rand -base64 18)'" | sed 's@/@_@g' > .env
|
||||||
./setup_test_ca.sh
|
./setup_test_ca.sh
|
||||||
docker-compose up
|
docker-compose up
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
# should be etch or lenny but dockerhub doesn't have such old versions
|
FROM debian:jessie
|
||||||
FROM debian:squeeze
|
|
||||||
|
|
||||||
RUN echo "deb http://archive.debian.org/debian squeeze main" > /etc/apt/sources.list ; \
|
RUN apt-get update \
|
||||||
apt-get -o=Acquire::AllowInsecureRepositories=true update \
|
|
||||||
&& DEBIAN_FRONTEND=noninteractive \
|
&& DEBIAN_FRONTEND=noninteractive \
|
||||||
apt-get -o=APT::Get::AllowUnauthenticated=true install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
gnupg \
|
gnupg \
|
||||||
libdevice-serialport-perl \
|
libdevice-serialport-perl \
|
||||||
libdigest-sha-perl \
|
libdigest-sha-perl \
|
||||||
|
|
Loading…
Reference in a new issue