Skip to content

Commit 92f686e

Browse files
committed
feat: remove redis for now
1 parent 1e957be commit 92f686e

File tree

7 files changed

+63
-13404
lines changed

7 files changed

+63
-13404
lines changed

.env.example

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,4 @@ JWT_SECRET=secret
22

33
DATABASE_URL=postgresql://admin:admin@localhost:5432/codebench?schema=public
44
#DB_CERT=
5-
REDIS_HOST=127.0.0.1
6-
REDIS_PORT=6378
7-
#REDIS_PASS=
8-
#REDIS_PORT=
9-
REDIS_TLS=false
105
RABBITMQ_URL=amqp://admin:admin@localhost:5672/

docker-compose.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,3 @@ services:
2323
- codebench_db:/data
2424
ports:
2525
- 5432:5432
26-
redis:
27-
image: 'redis:6.2.3'
28-
ports:
29-
- '127.0.0.1:6378:6379'

fly.toml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# fly.toml file generated for codebench-api on 2021-07-05T15:24:08Z
2+
3+
app = "codebench-api"
4+
5+
kill_signal = "SIGINT"
6+
kill_timeout = 5
7+
8+
[build]
9+
image = "rg.fr-par.scw.cloud/codebench/api:v1.8.1"
10+
11+
[env]
12+
13+
[experimental]
14+
allowed_public_ports = []
15+
auto_rollback = true
16+
17+
[[services]]
18+
http_checks = []
19+
internal_port = 3000
20+
protocol = "tcp"
21+
script_checks = []
22+
23+
[services.concurrency]
24+
hard_limit = 25
25+
soft_limit = 20
26+
type = "connections"
27+
28+
[[services.ports]]
29+
handlers = ["http"]
30+
port = 80
31+
32+
[[services.ports]]
33+
handlers = ["tls", "http"]
34+
port = 443
35+
36+
[[services.tcp_checks]]
37+
grace_period = "1s"
38+
interval = "15s"
39+
restart_limit = 6
40+
timeout = "2s"

0 commit comments

Comments
 (0)