Commit 7a2fda5fb8dd74939149f5423cf48845cd6a4adc
1 parent
708d1ca2
Exists in
master
remove public keys, mv .env .env.example
Showing
8 changed files
with
10 additions
and
8 deletions
Show diff stats
conf/.env renamed to conf/.env.example
1 | -# enter here all key = value you need to path in docker-compose.yaml file | 1 | +# enter here all key = value you need to path in docker-compose.yaml file - example for voparis-tap-planeto |
2 | VERSION=11 | 2 | VERSION=11 |
3 | SERVER=voparis-tap-planeto | 3 | SERVER=voparis-tap-planeto |
4 | # depot sans l'extension .git | 4 | # depot sans l'extension .git |
5 | GIT=voparis-tap-planeto | 5 | GIT=voparis-tap-planeto |
6 | -GITURL=https://gitlab.obspm.fr/phamy | 6 | +GITURL=https://voparis-gitlab.obspm.fr/dachs |
7 | +PUBKEY="your local public key" |
@@ -0,0 +1 @@ | @@ -0,0 +1 @@ | ||
1 | +.env |
conf/dachs-dockerfile
@@ -5,7 +5,7 @@ ARG SERVER | @@ -5,7 +5,7 @@ ARG SERVER | ||
5 | ARG GITURL | 5 | ARG GITURL |
6 | ARG GIT | 6 | ARG GIT |
7 | ARG HOMEPATH=/home/dachsroot | 7 | ARG HOMEPATH=/home/dachsroot |
8 | - | 8 | +ARG PUBKEY |
9 | 9 | ||
10 | ### | 10 | ### |
11 | #install de la clé + depot Dachs | 11 | #install de la clé + depot Dachs |
@@ -40,12 +40,12 @@ RUN apt-get install -y openssh-server openssh-client apache2 w3m | @@ -40,12 +40,12 @@ RUN apt-get install -y openssh-server openssh-client apache2 w3m | ||
40 | ### | 40 | ### |
41 | 41 | ||
42 | RUN mkdir -p /root/.ssh | 42 | RUN mkdir -p /root/.ssh |
43 | -RUN echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCx1IuqhW3UJmKWc6ODuhXu58CSdHGavVJaTUILUsR3ig359wRQ7GEpwXdk5dcTNOS16xVVx8KP7SEqsOOGRQ14jy2z3rJLZ0tRKzceCk1nXrFgipJ8qU0sFDc+dvXgJ94XvHlZzgQDT/iLeIZ6lhDEHn6O+EdfNf1g32LqIFXEe4fqRsKsM4ssYcHigdh3cdVDU350ACNxRrVEzCRE9lcGcfouwjSNMeWZO5SnCIzl7sOGJroYmL/c17P1YPIE1HzW3FjNI98FxJR2K/TmcUWJYDc7wDalN6HXyquoFsew7Sn/BZH0aprdaTLO1F820MTUIzcF/oKvhMd/Ihz355srm//a4PGQE7RDPdvPSjOr9KSiM/PU0GiARARex1AYl/a4CY5HnKeIs/sJfOADFJTpDcF7TSqKYq51JN1itWNmVMv8zZ/rfHMiEHKiDxLXZsflmdKPynHLI/Wk+uQqLNyORQ5MWJwKRGOp5haoCKxUtHPU68woVO1uk4FawXI0yLp84iXO7RJrr5MMas+Cjzv/azWA/K1WXOjiiWIqAoOHAYKWS2embavVHgIpbK/0wn8q5BF18QBOlqlpkBICOLTXpBLB+tAjmw998nYMF5PKI8synjzHGytd79OtrphO+ADWrCQuWDSxqkzbisJUMn3m1a4Z5CaaX1kjIL0P4RlvLw== phamy" >> /root/.ssh/authorized_keys | 43 | +RUN echo PUBKEY >> /root/.ssh/authorized_keys |
44 | RUN chmod 700 /root/.ssh | 44 | RUN chmod 700 /root/.ssh |
45 | RUN chmod 600 /root/.ssh/authorized_keys | 45 | RUN chmod 600 /root/.ssh/authorized_keys |
46 | 46 | ||
47 | RUN mkdir -p /home/dachsroot/.ssh | 47 | RUN mkdir -p /home/dachsroot/.ssh |
48 | -RUN echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCx1IuqhW3UJmKWc6ODuhXu58CSdHGavVJaTUILUsR3ig359wRQ7GEpwXdk5dcTNOS16xVVx8KP7SEqsOOGRQ14jy2z3rJLZ0tRKzceCk1nXrFgipJ8qU0sFDc+dvXgJ94XvHlZzgQDT/iLeIZ6lhDEHn6O+EdfNf1g32LqIFXEe4fqRsKsM4ssYcHigdh3cdVDU350ACNxRrVEzCRE9lcGcfouwjSNMeWZO5SnCIzl7sOGJroYmL/c17P1YPIE1HzW3FjNI98FxJR2K/TmcUWJYDc7wDalN6HXyquoFsew7Sn/BZH0aprdaTLO1F820MTUIzcF/oKvhMd/Ihz355srm//a4PGQE7RDPdvPSjOr9KSiM/PU0GiARARex1AYl/a4CY5HnKeIs/sJfOADFJTpDcF7TSqKYq51JN1itWNmVMv8zZ/rfHMiEHKiDxLXZsflmdKPynHLI/Wk+uQqLNyORQ5MWJwKRGOp5haoCKxUtHPU68woVO1uk4FawXI0yLp84iXO7RJrr5MMas+Cjzv/azWA/K1WXOjiiWIqAoOHAYKWS2embavVHgIpbK/0wn8q5BF18QBOlqlpkBICOLTXpBLB+tAjmw998nYMF5PKI8synjzHGytd79OtrphO+ADWrCQuWDSxqkzbisJUMn3m1a4Z5CaaX1kjIL0P4RlvLw== phamy" >> /home/dachsroot/.ssh/authorized_keys | 48 | +RUN echo PUBKEY >> /home/dachsroot/.ssh/authorized_keys |
49 | RUN chmod 700 /home/dachsroot/.ssh | 49 | RUN chmod 700 /home/dachsroot/.ssh |
50 | RUN chmod 600 /home/dachsroot/.ssh/authorized_keys | 50 | RUN chmod 600 /home/dachsroot/.ssh/authorized_keys |
51 | RUN chown dachsroot:gavo -R /home/dachsroot/.ssh | 51 | RUN chown dachsroot:gavo -R /home/dachsroot/.ssh |
conf/docker-compose.yml
conf/id_rsa-phamy.prive deleted
No preview for this file type
conf/id_rsalesidaner.pub deleted
@@ -1 +0,0 @@ | @@ -1 +0,0 @@ | ||
1 | -ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJo++rVp4x81Wu528nJieQob3aG1D5a6kD6ELOphVP0Rd2lTyxqlOFhXtgw7tM7bFTbwshqyO79mnOcVeGm7gkwGyjykORPHibD6yOkiSsc5D1sTFbsI2Hkm7eftkpv9lVmi/VIiV6bRpVM+EbvQoCNiR5m/DStlabfQALnF9z2xu+H3+oTUuO7X6jamSJRSrBTz/ILdf1gb6bT7ndYryttt4ITzcPHiH+dyJWR0AQCOGC8HvzrLURujSm2310Qfqo80YAmTm3zN5ABxD76ib5Hd87Lh4jwY8jxhSFBV2ZnMHJQyCqpm7JAXisD95NWr3EFPlNbbVeMvJMZ4pPshI7 lesidaner@psl-e4200 |