go to /etc/netplan
List the files and open the cloud init file, in my case it is 50-cloud-init.yaml
network:
ethernets:
eth0:
dhcp4: false
#!/usr/bin/env bash | |
# Applies common security measures for Ubuntu servers. Run it before doing the inital deploy with basecamp/kamal | |
# | |
# Afterwards, you'll only be able to SSH into the server as 'nonroot', eg. [email protected] | |
# | |
# So add this to your Kamal deploy.yml: | |
# ``` | |
# ssh: | |
# user: nonroot |
go to /etc/netplan
List the files and open the cloud init file, in my case it is 50-cloud-init.yaml
network:
ethernets:
eth0:
dhcp4: false
// Package main is a sample macOS-app-bundling program to demonstrate how to | |
// automate the process described in this tutorial: | |
// | |
// https://medium.com/@mattholt/packaging-a-go-application-for-macos-f7084b00f6b5 | |
// | |
// Bundling the .app is the first thing it does, and creating the DMG is the | |
// second. Making the DMG is optional, and is only done if you provide | |
// the template DMG file, which you have to create beforehand. | |
// | |
// Example use: |
# .github/workflows/app.yaml | |
name: My Python Project | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
services: |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>Popup Example</title> | |
</head> | |
<body> | |
<script> | |
function popupCallback(str){ | |
alert("This is callback:" + str); | |
} |
If you have two or more running container, complete next steps:
docker network create myNetwork
docker network connect myNetwork web1
docker network connect myNetwork web2
Now you connect from web1 to web2 container or the other way round.