Replace use of paulczar/omgwtfssl image in examples

Signed-off-by: Abhishek Kumar Kushwaha <abhithegabbar@gmail.com>
pull/2445/head
Abhishek Kumar Kushwaha 1 year ago
parent f0a7a8c934
commit 2bdca956b3

@ -107,6 +107,25 @@ services:
# networks:
# - proxy-tier
#Self-signed Certificate Generator (Replaces omgwtfssl)
cert-generator:
image: frapsoft/openssl
container_name: cert-generator-postgres-fpm
command: >
sh -c "
openssl req -x509 -nodes -days 365 -newkey rsa:2048
-keyout /certs/servhostname.local.key
-out /certs/servhostname.local.crt
-subj '/CN=servhostname.local/O=MyOrg/C=US'
&& openssl req -new -key /certs/servhostname.local.key
-out /certs/servhostname.local.csr
-subj '/CN=servhostname.local/O=MyOrg/C=US'"
volumes:
- certs:/certs
restart: "no"
networks:
- proxy-tier
volumes:
db:
nextcloud:

@ -120,6 +120,25 @@ services:
# networks:
# - proxy-tier
#Self-signed Certificate Generator (Replaces omgwtfssl)
cert-generator:
image: frapsoft/openssl
container_name: cert-generator-postgres-fpm
command: >
sh -c "
openssl req -x509 -nodes -days 365 -newkey rsa:2048
-keyout /certs/servhostname.local.key
-out /certs/servhostname.local.crt
-subj '/CN=servhostname.local/O=MyOrg/C=US'
&& openssl req -new -key /certs/servhostname.local.key
-out /certs/servhostname.local.csr
-subj '/CN=servhostname.local/O=MyOrg/C=US'"
volumes:
- certs:/certs
restart: "no"
networks:
- proxy-tier
volumes:
db:
nextcloud:

@ -99,6 +99,25 @@ services:
# networks:
# - proxy-tier
#Self-signed Certificate Generator (Replaces omgwtfssl)
cert-generator:
image: frapsoft/openssl
container_name: cert-generator-postgres-fpm
command: >
sh -c "
openssl req -x509 -nodes -days 365 -newkey rsa:2048
-keyout /certs/servhostname.local.key
-out /certs/servhostname.local.crt
-subj '/CN=servhostname.local/O=MyOrg/C=US'
&& openssl req -new -key /certs/servhostname.local.key
-out /certs/servhostname.local.csr
-subj '/CN=servhostname.local/O=MyOrg/C=US'"
volumes:
- certs:/certs
restart: "no"
networks:
- proxy-tier
volumes:
db:
nextcloud:

@ -115,6 +115,25 @@ services:
# networks:
# - proxy-tier
#Self-signed Certificate Generator (Replaces omgwtfssl)
cert-generator:
image: frapsoft/openssl
container_name: cert-generator-postgres-fpm
command: >
sh -c "
openssl req -x509 -nodes -days 365 -newkey rsa:2048
-keyout /certs/servhostname.local.key
-out /certs/servhostname.local.crt
-subj '/CN=servhostname.local/O=MyOrg/C=US'
&& openssl req -new -key /certs/servhostname.local.key
-out /certs/servhostname.local.csr
-subj '/CN=servhostname.local/O=MyOrg/C=US'"
volumes:
- certs:/certs
restart: "no"
networks:
- proxy-tier
volumes:
db:
nextcloud:

Loading…
Cancel
Save