-
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
32f0f5d
commit aa0e2c8
Showing
13 changed files
with
561 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.vault_password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
--- | ||
########################################### | ||
# Basic Server Configuration | ||
########################################### | ||
server_timezone: "Etc/UTC" | ||
server_contact: [email protected] | ||
|
||
# SSH | ||
server_ssh_port: "22" | ||
|
||
## Email Notifications | ||
postfix_hostname: "{{ inventory_hostname }}" | ||
|
||
## Set variables below to enable external SMTP relay | ||
# postfix_relayhost: "smtp.example.com" | ||
# postfix_relayhost_port: "587" | ||
# postfix_relayhost_username: "myusername" | ||
# postfix_relayhost_password: "mysupersecretpassword" | ||
|
||
############################################################## | ||
# Users | ||
############################################################## | ||
|
||
### Use the template below to set users and their authorized keys | ||
## Passwords must be set with an encrypted hash. To do this, see the Ansible FAQ | ||
## https://docs.ansible.com/ansible/latest/reference_appendices/faq.html#how-do-i-generate-encrypted-passwords-for-the-user-module | ||
|
||
# users: | ||
# - username: alice | ||
# name: Alice Smith | ||
# state: present | ||
# groups: ['adm','sudo'] | ||
# password: "$6$mysecretsalt$qJbapG68nyRab3gxvKWPUcs2g3t0oMHSHMnSKecYNpSi3CuZm.GbBqXO8BE6EI6P1JUefhA0qvD7b5LSh./PU1" | ||
# shell: "/bin/bash" | ||
# authorized_keys: | ||
# - public_key: "ssh-ed25519 AAAAC3NzaC1lmyfakeublickeyMVIzwQXBzxxD9b8Erd1FKVvu alice" | ||
|
||
# - username: bob | ||
# name: Bob Smith | ||
# state: present | ||
# password: "$6$mysecretsalt$qJbapG68nyRab3gxvKWPUcs2g3t0oMHSHMnSKecYNpSi3CuZm.GbBqXO8BE6EI6P1JUefhA0qvD7b5LSh./PU1" | ||
# groups: ['adm','sudo'] | ||
# shell: "/bin/bash" | ||
# authorized_keys: | ||
# - public_key: "ssh-ed25519 AAAAC3NzaC1anotherfakekeyIMVIzwQXBzxxD9b8Erd1FKVvu bob" | ||
|
||
### Additional users | ||
## You can also set additional users (great if you're working with contractors or clients on certain groups of servers) | ||
## These users will be flattened into the users list (if you set any settings below) | ||
|
||
# additional_users: | ||
# - username: charlie | ||
# name: Charlie Smith | ||
# state: present | ||
# groups: ['adm','sudo'] | ||
# password: "$6$mysecretsalt$qJbapG68nyRab3gxvKWPUcs2g3t0oMHSHMnSKecYNpSi3CuZm.GbBqXO8BE6EI6P1JUefhA0qvD7b5LSh./PU1" | ||
# shell: "/bin/bash" | ||
# authorized_keys: | ||
# - public_key: "ssh-ed25519 AAAAC3NzaC1lmyfakeublickeyMVIzwQXBzxxD9b8Erd1FKVvu alice" | ||
|
||
# - username: dana | ||
# name: Dana Smith | ||
# state: present | ||
# password: "$6$mysecretsalt$qJbapG68nyRab3gxvKWPUcs2g3t0oMHSHMnSKecYNpSi3CuZm.GbBqXO8BE6EI6P1JUefhA0qvD7b5LSh./PU1" | ||
# groups: ['adm','sudo'] | ||
# shell: "/bin/bash" | ||
# authorized_keys: | ||
# - public_key: "ssh-ed25519 AAAAC3NzaC1anotherfakekeyIMVIzwQXBzxxD9b8Erd1FKVvu bob" | ||
|
||
########################################### | ||
# Advanced Server Configurations | ||
########################################### | ||
|
||
# Time is in seconds (default: 24 hours) | ||
apt_cache_expiration: 86400 | ||
|
||
# Common packages to install | ||
common_installed_packages: | ||
- cron | ||
- curl | ||
- figlet | ||
- fail2ban | ||
- git | ||
- htop | ||
- logrotate | ||
- mailutils | ||
- ncdu | ||
- ntp | ||
- python3-minimal | ||
- ssh | ||
- tzdata | ||
- ufw | ||
- unattended-upgrades | ||
- unzip | ||
- wget | ||
- zip | ||
|
||
# APT - Automatic Update Configuration | ||
apt_periodic_update_package_lists: "1" | ||
apt_periodic_download_upgradeable_packages: "1" | ||
apt_periodic_autoclean_interval: "7" | ||
apt_periodic_unattended_upgrade: "1" | ||
|
||
########################################### | ||
# Fun Terminal Customizations | ||
########################################### | ||
motd_header_text: "ServerSideUp" | ||
motd_header_text_color: '\e[38;5;255m' | ||
motd_header_background_color: '\e[48;5;34m' | ||
motd_hostname_text_color: '\e[38;5;202m' | ||
motd_services: | ||
- ufw | ||
- fail2ban | ||
- postfix |
51 changes: 51 additions & 0 deletions
51
templates/laravel/.infrastructure/conf/traefik/dev/certificates/local-dev-key.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
-----BEGIN RSA PRIVATE KEY----- | ||
MIIJKQIBAAKCAgEAzD4tEgMDNmqJMqfW1KcR7sIan+8z3J+fWRIYREkk24UbaQzX | ||
of3dYYzPztmVh7ai4NhAnI/MfzPlJdPFVgPvGEO0TDCz9GmhNdFmXQiZ/dDQfR8b | ||
5py/mdiNBqsYWDBlj+I5KrMqE+pViDoKOLxVZXo+lECc2KCaz/ROJgj7b29+AOo5 | ||
h/b/RzSnmQJGuCAAX+WIii63T3VA3GkzbnKGjMaPVTVPSpmLhkptq1t7kYam3p9b | ||
lDw+o3BzQKl7GtdLLcKpxYBwfsGiyCCYu5ojqGeK0enJNDZtfyP8k6heK/npeqXo | ||
QcWiLVxwXVqUqzCSt08L5F8u+2tObLW6NZ2bmWPUmZSXNC4qJjjlgrwrllkDJG+S | ||
3LPJYW+VZzvTYFcfE7f1miLBa6X37F03htnhlLx7Ep1EEfNXlhPhqX+eA87Io6fy | ||
B63udmKDJiDyFrYS7Qc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Em/MG7liiD | ||
S/nwloXt0XMHbimnx3SY5nNIW45qhHYDQMCQYvKcZAWNZPu7DbQq77y/s+W36kum | ||
ANK60Z33JLFydk5nZRlmIaZPR8WMTVU3jvZ1GcLkc9ydBHg2k98cuhsb38Z0ybEN | ||
H/kBLiKxId7vM2MjMSF9d3lV1DzBamy43hVKKdkx1q9rFBxBPVokvunv50rW4B9C | ||
nRBiKhKNGxdtpOJqCQi0C6jOgLJFhnCL08x7BegwIctgWjbe0ynluF5DffKQFskL | ||
v9RVB0vacy3x/UgTzck7ulU6qgiGMWWZAoIBAQCVA4qZyWfvlZok4CCOyVzyokQk | ||
iegae/vSXavf7P3rnt9A2tWb15JKHake+zI79QC8Ea8edA8j1/2xbTV7bF3fi0at | ||
UC5hiyOwVgxI2lGo3KxbOx3/kdTMWgiXjX1IZA9Zp9FzsvMrAGlU02imQSWq0/qW | ||
kdd3NWZHLJZgzmlMVX9s6WIzRP1CdD5E9NyJortgzLQmgWkxMTU7fx9TlSAtJpci | ||
00gQBq/aqWMNAtQwwz2M9eMr14TgTUgVhLmQJN9aBcNgUMielcn1zTthSG7euhQK | ||
0gu98piVTfVQarAAWWP2O9s9CvP5o6iItvSC01DG7RPw/Cj/q9P9sFCh6y1H | ||
-----END RSA PRIVATE KEY----- |
38 changes: 38 additions & 0 deletions
38
templates/laravel/.infrastructure/conf/traefik/dev/certificates/local-dev.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIGkjCCBHqgAwIBAgIUKttFImgEG9cO56DRD/WAJQKHIAswDQYJKoZIhvcNAQEN | ||
BQAwezELMAkGA1UEBhMCVVMxEjAQBgNVBAgTCVdpc2NvbnNpbjESMBAGA1UEBxMJ | ||
TWlsd2F1a2VlMRcwFQYDVQQKEw5TZXJ2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gR970Cmsaec3ZVOPdlcuJckNwBcvTSc07tDu5vP1nZlgp99IFVP/CQz48rVJTZ | ||
2lhEyLbm | ||
-----END CERTIFICATE----- |
11 changes: 11 additions & 0 deletions
11
templates/laravel/.infrastructure/conf/traefik/dev/traefik-certs.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
tls: | ||
stores: | ||
default: | ||
defaultCertificate: | ||
certFile: /certificates/local-dev.pem | ||
keyFile: /certificates/local-dev-key.pem | ||
certificates: | ||
- certFile: /certificates/local-dev.pem | ||
keyFile: /certificates/local-dev-key.pem | ||
stores: | ||
- default |
30 changes: 30 additions & 0 deletions
30
templates/laravel/.infrastructure/conf/traefik/dev/traefik.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Allow self-signed certificates | ||
serversTransport: | ||
insecureSkipVerify: true | ||
|
||
providers: | ||
docker: | ||
network: development | ||
exposedbydefault: false | ||
file: | ||
filename: /traefik-certs.yml | ||
watch: true | ||
entryPoints: | ||
web: | ||
address: ":80" | ||
http: | ||
redirections: | ||
entrypoint: | ||
to: websecure | ||
scheme: https | ||
|
||
websecure: | ||
address: ":443" | ||
|
||
accessLog: {} | ||
log: | ||
level: ERROR | ||
|
||
api: | ||
dashboard: true | ||
insecure: true |
70 changes: 70 additions & 0 deletions
70
templates/laravel/.infrastructure/conf/traefik/prod/traefik.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# Cloudflare TrustedIPs | ||
x-trustedIps: &trustedIPs | ||
- "173.245.48.0/20" | ||
- "103.21.244.0/22" | ||
- "103.22.200.0/22" | ||
- "103.31.4.0/22" | ||
- "141.101.64.0/18" | ||
- "108.162.192.0/18" | ||
- "190.93.240.0/20" | ||
- "188.114.96.0/20" | ||
- "197.234.240.0/22" | ||
- "198.41.128.0/17" | ||
- "162.158.0.0/15" | ||
- "104.16.0.0/13" | ||
- "104.24.0.0/14" | ||
- "172.64.0.0/13" | ||
- "131.0.72.0/22" | ||
- "2400:cb00::/32" | ||
- "2606:4700::/32" | ||
- "2803:f800::/32" | ||
- "2405:b500::/32" | ||
- "2405:8100::/32" | ||
- "2a06:98c0::/29" | ||
- "2c0f:f248::/32" | ||
|
||
# Allow self-signed certificates | ||
serversTransport: | ||
insecureSkipVerify: true | ||
|
||
providers: | ||
docker: | ||
network: web-public | ||
exposedbydefault: false | ||
swarmMode: true | ||
|
||
entryPoints: | ||
web: | ||
address: ":80" | ||
http: | ||
redirections: | ||
entrypoint: | ||
to: websecure | ||
scheme: https | ||
forwardedHeaders: | ||
trustedIPs: *trustedIPs | ||
proxyProtocol: | ||
trustedIPs: *trustedIPs | ||
|
||
websecure: | ||
address: ":443" | ||
forwardedHeaders: | ||
trustedIPs: *trustedIPs | ||
proxyProtocol: | ||
trustedIPs: *trustedIPs | ||
|
||
accessLog: {} | ||
log: | ||
level: ERROR | ||
|
||
api: | ||
dashboard: true | ||
insecure: true | ||
|
||
certificatesResolvers: | ||
letsencryptresolver: | ||
acme: | ||
email: "[email protected]" | ||
storage: "/certificates/acme.json" | ||
httpChallenge: | ||
entryPoint: web |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* | ||
!.gitignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM serversideup/php:beta-8.3-fpm-nginx as base | ||
|
||
FROM base as deploy | ||
COPY --chown=www-data:www-data . /var/www/html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
version: '3.8' | ||
services: | ||
mariadb: | ||
networks: | ||
- ci | ||
environment: | ||
MYSQL_ROOT_PASSWORD: "rootpassword" | ||
MYSQL_DATABASE: "laravel_testing" | ||
MYSQL_USER: "mysqluser" | ||
MYSQL_PASSWORD: "mysqlpassword" | ||
|
||
php: | ||
networks: | ||
- ci | ||
volumes: | ||
- .:/var/www/html/ | ||
working_dir: /var/www/html/ | ||
environment: | ||
AUTORUN_ENABLED: false | ||
depends_on: | ||
- mariadb | ||
|
||
node: | ||
image: node:20 | ||
volumes: | ||
- .:/usr/src/app/ | ||
working_dir: /usr/src/app/ | ||
networks: | ||
- ci | ||
|
||
mailpit: | ||
image: axllent/mailpit | ||
networks: | ||
- ci | ||
|
||
networks: | ||
ci: |
Oops, something went wrong.