Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

✨docker 一键启动,优化用户体验 #18

Closed
wants to merge 1 commit into from
Closed

✨docker 一键启动,优化用户体验 #18

wants to merge 1 commit into from

Conversation

Ran-Xing
Copy link
Contributor

version: '3'

services:
    web:
        image: wgpsec/dbj:latest
        container_name: dbj
        restart: unless-stopped
        ports:
          - "5000:5000"
        entrypoint: ["/start.sh"]
        environment:
          - LANG=en_US.UTF-8
          - TZ=Asia/Shanghai

此方案需要前往Docker Hub注册 Wgpsec 账号
接着打包镜像

IMAGE ID
image

docker build -t dbj:latest
docker images
docker tag IMAGE ID wgpsec/dbj:latest
docker push wgpsec:latest

为了优化体验感,建议前往 Gravatar 设置头像

@Ran-Xing Ran-Xing closed this Sep 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant