This file contains hidden or 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
| events { | |
| worker_connections 10; | |
| } | |
| http { | |
| server { | |
| listen 443 ssl; | |
| server_name localhost; | |
| ssl_certificate /etc/nginx/ssl/server.crt; |
This file contains hidden or 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
| services: | |
| wordpress: | |
| image: wordpress:latest | |
| # ports: | |
| # - "8080:80" | |
| environment: | |
| WORDPRESS_DB_HOST: db | |
| WORDPRESS_DB_USER: wordpress | |
| WORDPRESS_DB_PASSWORD: wordpress | |
| WORDPRESS_DB_NAME: wordpress |
This file contains hidden or 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
| services: | |
| wordpress: | |
| image: wordpress:latest | |
| ports: | |
| - "8080:80" | |
| environment: | |
| WORDPRESS_DB_HOST: db | |
| WORDPRESS_DB_USER: wordpress | |
| WORDPRESS_DB_PASSWORD: wordpress | |
| WORDPRESS_DB_NAME: wordpress |
This file contains hidden or 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
| import argparse | |
| import os | |
| import sys | |
| from configparser import ConfigParser | |
| def _validate_file(path: str): | |
| """ | |
| Checks whether file exists |
This file contains hidden or 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
| { | |
| 'Africa/Abidjan': 'GMT0', | |
| 'Africa/Accra': 'GMT0', | |
| 'Africa/Addis_Ababa': 'EAT-3', | |
| 'Africa/Algiers': 'CET-1', | |
| 'Africa/Asmara': 'EAT-3', | |
| 'Africa/Asmera': 'EAT-3', | |
| 'Africa/Bamako': 'GMT0', | |
| 'Africa/Bangui': 'WAT-1', | |
| 'Africa/Banjul': 'GMT0', |