cslzchen / fakecas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run fakeCAS with OSF

Please follow README-docker-compose.md to run fakeCAS with OSF.

Change the Image

By default, OSF uses the master image of fakeCAS, as shown below in docker-compose.yml.

##################################
# Central Authentication Service #
##################################

fakecas:
  image: quay.io/centerforopenscience/fakecas:master
  command: fakecas -host=0.0.0.0:8080 -osfhost=localhost:5000 -dbaddress=postgres://postgres@postgres:5432/osf?sslmode=disable
  restart: unless-stopped
  ports:
    - 8080:8080
  depends_on:
    - postgres
  stdin_open: true

If you need the develop one, use quay.io/centerforopenscience/fakecas:develop instead. Run docker-compose pull fakecas to pull the new image before starting docker-compose pull fakecas.

Pre-docker-compose

Starting 19.0.0, fakeCAS no longer provides downloadable binrary executables. Here is the last version 0.11.1 that provides such a binary.

Develop fakeCAS

Please take a look at the Dockerfile for how to develop fakeCAS locally. On macOS, use brew to install go and glide.

About

License:Apache License 2.0


Languages

Language:Go 80.1%Language:HTML 11.6%Language:Dockerfile 5.8%Language:Makefile 2.5%