Sign inSign up

xylphid/play

By xylphid

Updated almost 7 years ago

Play Framework !

Image
1

100K+

xylphid/play repository overview

Play! Framework

Play! Framework

Supported tags

How to use this image

Mounting project

$ docker run --name some-name -v /path/to/project:/app -d xylphid/play-framework:1

Exposing external port

$ docker run --name some-name -v /path/to/projet:/app -p 80:9000 -d xylphid/play-framework:1 Then you can hit http://localhost/ or http://host-ipin your browser.

How to compose with this image

version: "3"
services:
  app:
    image: xylphid/play-framework:1.4.4
    port:
      - "80:9000"
    restart: always
    volumes:
      - /path/to/project:/app
Traefik configuration
version: "3"
services:
  app:
    image: xylphid/play-framework:1.4.4
    labels:
      - "traefik.backend=my-project"
      - "traefik.frontend.rule=Host:my-project.domain.tld"
      - "traefik.port=9000"
    restart: always
    volumes:
      - /path/to/project:/app

Quick reference

Image inheritance

This docker image inherits from openjdk:8 image.

Tag summary

Content type

Image

Digest

Size

294.7 MB

Last updated

about 7 years ago

docker pull xylphid/play