Skip to content

Commit

Permalink
fix: Update editorconfig to properly cover yaml and update formatting (
Browse files Browse the repository at this point in the history
  • Loading branch information
PanisSupraOmnia committed Apr 27, 2024
1 parent 5125ef3 commit 8e6b057
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 76 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false

[*.yml]
[*.{yml,yaml,yaml.example}]
indent_size = 2
58 changes: 29 additions & 29 deletions Homestead.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,42 +7,42 @@ provider: virtualbox
authorize: ~/.ssh/id_rsa.pub

keys:
- ~/.ssh/id_rsa
- ~/.ssh/id_rsa

folders:
- map: ~/code
to: /home/vagrant/code
- map: ~/code
to: /home/vagrant/code

sites:
- map: homestead.test
to: /home/vagrant/code/public
- map: homestead.test
to: /home/vagrant/code/public

databases:
- homestead
- homestead

features:
- mariadb: false
- postgresql: false
- ohmyzsh: false
- webdriver: false
- influxdb: false
- mariadb: false
- postgresql: false
- ohmyzsh: false
- webdriver: false
- influxdb: false

services:
- enabled:
- "mysql"
# - disabled:
# - "postgresql@11-main"

#ports:
# - send: 33060 # MySQL/MariaDB
# to: 3306
# - send: 4040
# to: 4040
# - send: 54320 # PostgreSQL
# to: 5432
# - send: 8025 # Mailpit
# to: 8025
# - send: 9600
# to: 9600
# - send: 27017
# to: 27017
- enabled:
- "mysql"
# - disabled:
# - "postgresql@11-main"

# ports:
# - send: 33060 # MySQL/MariaDB
# to: 3306
# - send: 4040
# to: 4040
# - send: 54320 # PostgreSQL
# to: 5432
# - send: 8025 # Mailpit
# to: 8025
# - send: 9600
# to: 9600
# - send: 27017
# to: 27017
56 changes: 28 additions & 28 deletions resources/Homestead.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,41 +7,41 @@ provider: virtualbox
authorize: ~/.ssh/id_rsa.pub

keys:
- ~/.ssh/id_rsa
- ~/.ssh/id_rsa

folders:
- map: ~/code
to: /home/vagrant/code
- map: ~/code
to: /home/vagrant/code

sites:
- map: homestead.test
to: /home/vagrant/code/public
- map: homestead.test
to: /home/vagrant/code/public

databases:
- homestead
- homestead

features:
- mariadb: false
- postgresql: false
- ohmyzsh: false
- webdriver: false
- mariadb: false
- postgresql: false
- ohmyzsh: false
- webdriver: false

services:
- enabled:
- "mysql"
# - disabled:
# - "postgresql@11-main"

#ports:
# - send: 33060 # MySQL/MariaDB
# to: 3306
# - send: 4040
# to: 4040
# - send: 54320 # PostgreSQL
# to: 5432
# - send: 8025 # Mailpit
# to: 8025
# - send: 9600
# to: 9600
# - send: 27017
# to: 27017
- enabled:
- "mysql"
# - disabled:
# - "postgresql@11-main"

# ports:
# - send: 33060 # MySQL/MariaDB
# to: 3306
# - send: 4040
# to: 4040
# - send: 54320 # PostgreSQL
# to: 5432
# - send: 8025 # Mailpit
# to: 8025
# - send: 9600
# to: 9600
# - send: 27017
# to: 27017
36 changes: 18 additions & 18 deletions scripts/features/dockstead/mysql-5.7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@
#
version: "3.7"
services:
mysql:
image: mysql:5.7
volumes:
- type: volume
source: mysql-data
target: /var/lib/mysql
volume:
nocopy: true
ports:
- "3306:3306"
healthcheck:
test: mysqladmin ping -h 127.0.0.1 -u $$MYSQL_USER --password=$$MYSQL_PASSWORD
interval: 3s
timeout: 1s
retries: 5
env_file:
- env.docker
mysql:
image: mysql:5.7
volumes:
- type: volume
source: mysql-data
target: /var/lib/mysql
volume:
nocopy: true
ports:
- "3306:3306"
healthcheck:
test: mysqladmin ping -h 127.0.0.1 -u $$MYSQL_USER --password=$$MYSQL_PASSWORD
interval: 3s
timeout: 1s
retries: 5
env_file:
- env.docker
volumes:
mysql-data:
mysql-data:

0 comments on commit 8e6b057

Please sign in to comment.