1- GET - Get single item - HTTP Response Code: 200
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
| networks: | |
| default: | |
| name: pratama-network | |
| external: true | |
| services: | |
| mariadb: | |
| image: "bitnami/mariadb:10.8" | |
| restart: always | |
| environment: |
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
| networks: | |
| default: | |
| name: pratama-network | |
| external: true | |
| services: | |
| wordpress: | |
| image: bitnami/wordpress:6 | |
| container_name: wordpress | |
| labels: |
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
| [http.routers] | |
| # Traefik | |
| [http.routers.api] | |
| rule = "Host(`traefik.supanadit.com`)" | |
| # Uncomment this for production use | |
| # entrypoints = ["web","websecure"] | |
| # Comment this for production use | |
| entrypoints = ["web"] | |
| service = "api@internal" | |
| # Uncomment this for production use |
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
| [api] | |
| dashboard = true | |
| [entryPoints] | |
| [entryPoints.web] | |
| address = ":80" | |
| # Uncomment this at production for redirecting to HTTPS automatically | |
| # [entryPoints.web.http.redirections.entryPoint] | |
| # to = "websecure" | |
| # scheme = "https" |
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
| networks: | |
| default: | |
| name: pratama-network | |
| external: true | |
| services: | |
| traefik: | |
| container_name: traefik | |
| image: traefik:v3.1.4 | |
| restart: always |
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
| config.vm.provider :vmware_fusion do |vm| | |
| vdiskmanager = '/Applications/VMware\ Fusion.app/Contents/Library/vmware-vdiskmanager' | |
| dir = "#{ENV['HOME']}/vagrant-additional-disk" | |
| unless File.directory?( dir ) | |
| Dir.mkdir dir | |
| end |
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
| package main | |
| import ( | |
| "fmt" | |
| "github.com/gin-gonic/gin" | |
| engineio "github.com/googollee/go-engine.io" | |
| "github.com/googollee/go-engine.io/transport" | |
| engineiopooling "github.com/googollee/go-engine.io/transport/polling" | |
| socketio "github.com/googollee/go-socket.io" | |
| "log" |
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
| yay -S noto-fonts ttf-dejavu noto-fonts-cjk noto-fonts-emoji noto-fonts-extra otf-font-awesome ttf-ms-fonts ttf-meslo ttf-meslo-nerd |
Solution for max watches limit on Arch Linux
echo fs.inotify.max_user_watches=524288 | sudo tee /etc/sysctl.d/40-max-user-watches.conf && sudo sysctl --systemNewerOlder