1
0
Fork 0

Compare commits

..

1 commit

Author SHA1 Message Date
e575eed7ff Add proper quotes to .env file 2021-04-23 17:01:12 +02:00
2 changed files with 10 additions and 12 deletions

View file

@ -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
``` ```

View file

@ -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 \