Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
6bb58bc871 | ||
|
4524a13bc5 | ||
|
62e37d967d |
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2023 docker
|
||||
Copyright (c) 2023 altogether
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
|
34
certs/wordpress.localhost.crt
Normal file
34
certs/wordpress.localhost.crt
Normal file
@ -0,0 +1,34 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIF1zCCA7+gAwIBAgIUeb960ennpfSbqbfxA2BkOGC02sAwDQYJKoZIhvcNAQEL
|
||||
BQAwezELMAkGA1UEBhMCQVQxEzARBgNVBAgMClNvbWUtU3RhdGUxEzARBgNVBAoM
|
||||
CmFsdG9nZXRoZXIxFzAVBgNVBAMMDlJhcGhhZWwgTWFydGluMSkwJwYJKoZIhvcN
|
||||
AQkBFhpyYXBoeS5tYXJ0aW5AcHJvdG9ubWFpbC5jaDAeFw0yMzExMjYyMDEzMDda
|
||||
Fw00MzExMjEyMDEzMDdaMHsxCzAJBgNVBAYTAkFUMRMwEQYDVQQIDApTb21lLVN0
|
||||
YXRlMRMwEQYDVQQKDAphbHRvZ2V0aGVyMRcwFQYDVQQDDA5SYXBoYWVsIE1hcnRp
|
||||
bjEpMCcGCSqGSIb3DQEJARYacmFwaHkubWFydGluQHByb3Rvbm1haWwuY2gwggIi
|
||||
MA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC9a32BxBtKBpRmZ0wwpY/9r0KJ
|
||||
9rts4x4nSipe3Dyl9BdiuLNfy/deoEJ+AQhQuzOpTFQTEKzkyOsu2VU5da30kLIo
|
||||
lyxy3eG04dyO7sU3yX9REq16nqKa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xMMyeUUZorNs9L7zEKTNstRZE
|
||||
dTlwH2JRj5W2AxZtjjIMt6efGJ46QsLOaNvSoASViJWe88P8KsfspunLK9R2IsXp
|
||||
pbrkK98YdtWwfInQpQ6SvlGm4QCYFPwrg3b693GVBg1/hwcKYL7NgnGL5vlIYLsV
|
||||
M6d9hmb4mQ8enKvOGN8gW7xkxEOqilRLpWLAOaoQfImyy/fS9jecxBRXPRzjI9Oo
|
||||
JAjFowv+79Y2gISgTFm8P0uaL9ZNJFbJP/Rk5C+9v7edwtxX1+YlREq+59zk9sbS
|
||||
VvKEGG15sRsocjxsyn8ofweay9GaZY1+zypAY+nriVzsi2Z4xNSbHbBBAj9SaDjd
|
||||
kVx0qaoHN96+rQEyJPRwkz0hJa+4Gx6TuQWPVaTFGm7g8Tg295BfkXuyqsO/GwtK
|
||||
Lc7As7Uu1O/FaaE=
|
||||
-----END CERTIFICATE-----
|
52
certs/wordpress.localhost.key
Normal file
52
certs/wordpress.localhost.key
Normal file
@ -0,0 +1,52 @@
|
||||
-----BEGIN PRIVATE KEY-----
|
||||
MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQC9a32BxBtKBpRm
|
||||
Z0wwpY/9r0KJ9rts4x4nSipe3Dyl9BdiuLNfy/deoEJ+AQhQuzOpTFQTEKzkyOsu
|
||||
2VU5da30kLIolyxy3eG04dyO7sU3yX9REq16nqKaVFz4J+n9rEOmd6v3e50zmEyM
|
||||
wAQn+Y5Mjp+HqS8qyV0dzvWAobWXRZgwrSymC48WzzdbLhGYVcioTc4BPQ0thDlk
|
||||
H5kcOET7DRlb3MWrjowJHZ+iCQv/IbjPMCp3kUNKpocUZKQvKTccbSaAgvqLo6iL
|
||||
gQdLHi5TV+Usga9SJaoULCRw60yFD4kPI05wr+tbrUnUIObv0qtBc92RSblXAOZV
|
||||
XkQb64cKuOBK+o2HAHwWu3/B0eciolkQOjgy0k7kl0l1opK/6IWAuzEr/zrgaPUQ
|
||||
lcIgLVS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/ZjF/mFAUT
|
||||
G1OXppgyuOHeaMzCueIoz6kieFaiAfiAQUNVNyuBAoIBAHeQxfq2W1ncvZ1+oeYY
|
||||
PVelQQAHz/iRTbQCAW/dqdwA9Sb65UNa1KArkpwHk5zQmJv1Wn87/gANpw1I7Ww5
|
||||
dbhrXuSiXkv+ijCB+TRHJyS0o8uAmrL2TvA85YF69CK1K3laSA0hDQMpL8loeYYl
|
||||
bFR0K3/319LBwkFSSxZFgY07KLmulexpBrqDd4fvLkB6jtrxiZB/j0o3cMR1EcLb
|
||||
FkQJh6Ak3bRKASbi+DUQu8jI+GrUpZpbzl2UY+aS8xpKaC/tYAY7ADoBpZkMOxsb
|
||||
3jyIL2+KwqMidwABFAsoJXTdaMYluYSuoR8XQP9Of/B9SJAmRqbphzH/nPylTnN/
|
||||
kwECggEANIN2hP+EEfRm1SMi7ckr4Y39pDK0xYRmCaE6GMHns2vhAu8s8hNv/8Hu
|
||||
JLby5zttqxFNun6FnByHOAMjQ3Ry/hMN7/JVwWhdSYRzCN6yaInCq6n+IK478Fxu
|
||||
gJ9EBXPE/iaQw/mb2By4YqTU1N7bFkooEEvNa2L6sxXnWaN4Lce50UXayYVuh7NC
|
||||
BHtvgPoE42vhzD8hFd/I1ty55tvCQRXFojxrqx2T2/RhiPg6AqBP91U/OBYluMJN
|
||||
l8SP2hWzq8dtv1nGJDsNn4+7EHJSkCOHxE+lC73AWap/gSwabVEWTUyzpdl/xLJn
|
||||
VFgdrqk519BZaugdLsjazcqDCxqJKA==
|
||||
-----END PRIVATE KEY-----
|
@ -1,4 +1,4 @@
|
||||
version: '1'
|
||||
version: '3.8'
|
||||
|
||||
networks:
|
||||
default:
|
||||
@ -39,6 +39,9 @@ services:
|
||||
- "traefik.http.routers.${PROJECT_NAME}_wordpress.rule=Host(`${PROJECT_URL}`)"
|
||||
- "traefik.http.routers.${PROJECT_NAME}_wordpress.entrypoints=websecure"
|
||||
- "traefik.http.routers.${PROJECT_NAME}_wordpress.tls=true"
|
||||
- "traefik.frontend.rule=Host:${PROJECT_URL}"
|
||||
- "traefik.frontend.certFile=/certs/wordpress.localhost.crt"
|
||||
- "traefik.frontend.keyFile=/certs/wordpress.localhost.key"
|
||||
wordpress:
|
||||
image: "wordpress:fpm-alpine"
|
||||
depends_on:
|
||||
@ -69,7 +72,6 @@ services:
|
||||
db:
|
||||
image: "mariadb:latest"
|
||||
container_name: "${PROJECT_NAME}_wordpress_db"
|
||||
hostname: "${PROJECT_URL}"
|
||||
restart: "unless-stopped"
|
||||
command: '--default-authentication-plugin=mysql_native_password'
|
||||
env_file: ".env"
|
||||
|
Loading…
Reference in New Issue
Block a user