From eb131333b28a063379fa0f8431c5426ab4659e1f Mon Sep 17 00:00:00 2001 From: K-wakaT Date: Sat, 2 Dec 2023 14:39:07 +0900 Subject: [PATCH] [feat] seed deploy (#228) --- .gitignore | 4 +++- docker-compose.prod.yml | 7 +++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 85a268b..c6754ac 100644 --- a/.gitignore +++ b/.gitignore @@ -113,4 +113,6 @@ typings/ /api/.env.local /seeds.env -/api/config/credentials.yml.enc \ No newline at end of file +/api/config/credentials.yml.enc + +/cloudflare \ No newline at end of file diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index cde6e49..3315d42 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -1,5 +1,12 @@ version: "3" services: + cloudflare: + image: cloudflare/cloudflared:latest + container_name: "seeds_cloudflare" + volumes: + - ./cloudflare/prod:/home/nonroot/.cloudflared + command: tunnel run + seeds_api: build: ./api container_name: "seeds_api"