Skip to content

Commit 507ec4a

Browse files
authoredDec 28, 2023
Merge pull request #1 from gribanoveu/cuddly
merge to main
2 parents 04909a6 + f39f8f9 commit 507ec4a

File tree

141 files changed

+3089
-2473
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+3089
-2473
lines changed
 

‎.fleet/run.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"configurations": [
3+
4+
]
5+
}

‎docker/dev-compose.yml

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: cuddle
2+
version: '3.7'
3+
4+
services:
5+
postgres-db:
6+
image: postgres:15.4-alpine
7+
container_name: cuddle_db_postgres
8+
restart: unless-stopped
9+
environment:
10+
POSTGRES_USER: auth_postgres
11+
POSTGRES_PASSWORD: auth#7533245
12+
POSTGRES_DB: auth_service_db
13+
volumes:
14+
- pgdata:/var/lib/postgresql/data
15+
ports:
16+
- "5432:5432"
17+
command: >
18+
postgres
19+
-c max_connections=100
20+
-c shared_buffers=256MB
21+
-c effective_cache_size=512MB
22+
-c maintenance_work_mem=128MB
23+
-c checkpoint_completion_target=0.7
24+
-c wal_buffers=8MB
25+
-c random_page_cost=2
26+
-c effective_io_concurrency=1
27+
-c work_mem=8192kB
28+
29+
redis-db:
30+
image: redis:7.2.1-alpine
31+
container_name: cuddle_db_redis
32+
restart: unless-stopped
33+
ports:
34+
- "6379:6379"
35+
command: redis-server --save 20 1 --loglevel warning
36+
volumes:
37+
- cache:/data
38+
39+
# dev only stuff
40+
mailcatcher:
41+
container_name: cuddle_dev_mailcatcher
42+
image: sj26/mailcatcher
43+
restart: unless-stopped
44+
ports:
45+
- "1080:1080" # smtp
46+
- "1025:1025" # http (ui)
47+
48+
it-tools:
49+
container_name: cuddle_dev_it-tools
50+
image: 'corentinth/it-tools:latest'
51+
ports:
52+
- '8888:80'
53+
restart: unless-stopped
54+
55+
volumes:
56+
pgdata:
57+
cache:
58+
driver: local

0 commit comments

Comments
 (0)
Please sign in to comment.