Skip to content

Instantly share code, notes, and snippets.

@carmenlau
carmenlau / README.md
Last active January 22, 2019 07:20
Skygear next docker setup
View README.md
  1. Create schema in db

    CREATE SCHEMA app_config;
    CREATE SCHEMA app_next;
    
  2. Run migration

@carmenlau
carmenlau / ssh-d4m
Created October 24, 2018 06:37
SSH into Docker for Mac xhyve VM
View ssh-d4m
1. screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty
2. when done use CTRL-A CTRL-\ and then y (for yes) to exit
Alternative method:
1. docker run -it --privileged --pid=host debian nsenter -t 1 -m -u -n -i sh
@carmenlau
carmenlau / docker-compose.yaml
Created September 17, 2018 14:02
Locally run skygear sever and multiple plugins example
View docker-compose.yaml
version: '3'
services:
db:
image: mdillon/postgis:9.5
volumes:
- db_data:/var/lib/postgresql/data
ports:
- "5432:5432"
app:
image: skygeario/skygear-server:v1.6.2
@carmenlau
carmenlau / docker-compose.yaml
Created September 13, 2018 06:05
Locally run skygear sever and js cloud functions example
View docker-compose.yaml
version: '3'
services:
db:
image: mdillon/postgis:9.5
volumes:
- db_data:/var/lib/postgresql/data
ports:
- "5432:5432"
app:
image: skygeario/skygear-server:v1.6.2
View ca.crt
-----BEGIN CERTIFICATE-----
MIIC6DCCAdCgAwIBAgIBADANBgkqhkiG9w0BAQsFADAlMREwDwYDVQQKEwhrdWJl
LWF3czEQMA4GA1UEAxMHa3ViZS1jYTAeFw0xNjA4MjUwNjI1NThaFw0yNjA4MjMw
NjI1NThaMCUxETAPBgNVBAoTCGt1YmUtYXdzMRAwDgYDVQQDEwdrdWJlLWNhMIIB
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAv6uHGqEN+xTCUgjWftAje2BU
2Ha/yQiti0VunUweFOi8tiJrazSuRYkwK5pEVMMKc2/TrCZNy9kintbkluDe/Irp
BzRPVH9T4Td2usxKhcSGQQJt7GNz8Z9yUCh88WAm4sqXO5EucNUcthuI4dg7SE3i
BnulE4J0DJzKo+3O0jBzuAPdoqk0M1VCqKATJg44ZVTv3CEK+yEAPoyxh1EP+FBI
BhQmFW9PmAoj3uFGruZHwSZqOkEq1TFjme2elzCEecaERikTlCsAlt7QyIVAA5PB
CXE4BVVs0jsC+QlVGQAU3z4g1IMhSJyrCgLkIsRJ9hmrz+WjRLD+5lRbkM35bwID
View keybase.md

Keybase proof

I hereby claim:

  • I am carmenlau on github.
  • I am carmenlau (https://keybase.io/carmenlau) on keybase.
  • I have a public key whose fingerprint is B71D 1305 6ECA 7E7D 1D5E 02A4 4478 9141 457E 618F

To claim this, I am signing this object: