The Wayback Machine - https://web.archive.org/web/20200907011421/https://github.com/accounts-js/docker
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

accounts

How to use this image

build and run using Docker CLI

$ docker build -t accounts-js .
$ docker run -it accounts-js -e ACCOUNTS_DB=mongo -e ACCOUNTS_DB_URL=mongodb://db -e ACCOUNTS_SECRET=my_secret

or if you prefer Docker Compose

version: "3"

services:
    app:
        build:
            context: .
            dockerfile: Dockerfile
        environment:
            - ACCOUNTS_DB=mongo
            - ACCOUNTS_DB_URL=mongodb://db
            - ACCOUNTS_SECRET=my_secret
        ports:
            - 4000:4000
        
    db:
        image: mongo:4

You can then run using Docker Compose command

$ docker-compose up -d

About

A Docker image for accounts-js.

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.