Sign inSign up

ferror/vue-image

By ferror

•Updated over 5 years ago

Image
1

335

ferror/vue-image repository overview

⁠vue docker image

Docker Hub

⁠Example

⁠docker-compose.yml
services:
    traefik:
        image: traefik:2.3
        container_name: "traefik"
        command:
            - "--log.level=DEBUG"
            - "--api.insecure=true"
            - "--providers.docker=true"
            - "--providers.docker.exposedbydefault=false"
            - "--entrypoints.web.address=:80"
        ports:
            - "80:80"
            - "8080:8080"
        volumes:
            - /var/run/docker.sock:/var/run/docker.sock:ro
        networks:
            ferror:
                ipv4_address: 192.168.10.2

    vue:
        container_name: "vue"
        image: ferror/vue-image
        command: ["make", "run"]
        labels:
            - "traefik.enable=true"
            - "traefik.http.routers.vue.rule=Host(`vue.domain.localhost`)"
        volumes:
            - ./:/app:delegated
        networks:
            - ferror

networks:
    ferror:
        name: ferror
        driver: bridge
        ipam:
            driver: default
            config:
                - subnet: 192.168.10.0/24
⁠Makefile
run:
	yarn install
	exec /usr/bin/supervisord -c /etc/supervisor/supervisord.conf

deploy:
	yarn install
	yarn build
	exec /usr/bin/supervisord -c /etc/supervisor/supervisord.conf

Tag summary

Content type

Image

Digest

Size

95.9 MB

Last updated

over 5 years ago

docker pull ferror/vue-image