Unverified Commit 973b52d0 authored by Tom Moulard's avatar Tom Moulard
Browse files

docker: adding password(thusupdating README )

parent 92fb6ac6
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -70,6 +70,11 @@ Don't forget to change db passwords. (migth not be needed since they are beyond
the reverse proxy).
Fill vpn secrets(if none provided, they are generated directly).
Configuration files are: `docker-compose.yml`, `nginx.conf`
```bash
export USERNAME=
export PASSWORD=
export HASHED_PASSWORD=$(openssl passwd -apr1 $PASSWORD)
```

### Scalling up
```bash
+3 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ services:
      - './traefik/traefik.toml:/traefik.toml'
      - './traefik/acme.json:/acme.json'
      - './traefik/logs:/logs'
      - 'traefik.frontend.auth.basic.users=${USERNAME}:${HASHED_PASSWORD}'

  fluentd:
    build: ./fluentd
@@ -68,6 +69,7 @@ services:
      - 'traefik.enable=true'
      - 'traefik.frontend.rule=Host:kibana.${SITE}'
      - 'traefik.port=5601'
      - 'traefik.frontend.auth.basic.users=${USERNAME}:${HASHED_PASSWORD}'

  gitlab:
    image: 'gitlab/gitlab-ce:latest'
@@ -151,6 +153,7 @@ services:
      - 'traefik.enable=true'
      - 'traefik.frontend.rule=Host:torrent.${SITE}'
      - 'traefik.port=9091'
      - 'traefik.frontend.auth.basic.users=${USERNAME}:${HASHED_PASSWORD}'

  vpn:
    image: hwdsl2/ipsec-vpn-server:latest