Skip to content

accounts-js/docker

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published