diff --git a/build.yml b/build.yml deleted file mode 100644 index 8a055bf..0000000 --- a/build.yml +++ /dev/null @@ -1,26 +0,0 @@ -services: - gnu-autouploader: - build: - context: ./build/autouploader - dockerfile: Dockerfile - image: reg.firstgarden.co.kr/gnu-autouploader:latest - container_name: gnu-autouploader - volumes: - - ./data:/data - - ./autouploader:/app - restart: unless-stopped - - fg-webhook: - build: - context: ./build/webhook - dockerfile: Dockerfile - image: reg.firstgarden.co.kr/fg-webhook:latest - container_name: fg-webhook - volumes: - - ./data:/data - - ./webhook:/app - ports: - - 5000:5000 - #environment: - # - DOMAIN=https://webhook.firstgarden.co.kr - restart: unless-stopped diff --git a/docker-compose.yml b/docker-compose.yml index 409705d..0ca0f0e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,8 @@ services: gnu-autouploader: + build: + context: ./build/autouploader + dockerfile: Dockerfile image: reg.firstgarden.co.kr/gnu-autouploader:latest container_name: gnu-autouploader volumes: @@ -8,6 +11,9 @@ services: restart: unless-stopped fg-webhook: + build: + context: ./build/webhook + dockerfile: Dockerfile image: reg.firstgarden.co.kr/fg-webhook:latest container_name: fg-webhook volumes: @@ -18,4 +24,6 @@ services: environment: - DOMAIN=https://webhook.firstgarden.co.kr - FLASK_DEBUG=1 #디버그 활성화 + #environment: + # - DOMAIN=https://webhook.firstgarden.co.kr restart: unless-stopped diff --git a/webhook-build.yml b/webhook-build.yml deleted file mode 100644 index 62da351..0000000 --- a/webhook-build.yml +++ /dev/null @@ -1,10 +0,0 @@ -services: - fg-auto: - build: - context: ./build - dockerfile: Dockerfile - image: reg.firstgarden.co.kr/fg-webhook:latest - container_name: fg-webhook - volumes: - - ./data:/data - restart: unless-stopped