-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathdocker-compose.local.yml
79 lines (74 loc) · 2.22 KB
/
docker-compose.local.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
version: '3.9'
networks:
iced-latte-network-qa:
name: iced-latte-network-qa
attachable: true
volumes:
pg_data:
nginx_data:
minio_data:
backend_logs: {}
services:
iced-latte-backend-qa:
image: 'zufarexplainedit/iced-latte-backend:${DOCKER_IMAGE_TAG}'
container_name: iced-latte-backend-qa
environment:
APP_SERVER_PORT: 8083
APP_JWT_SECRET: 404E635266556A586E3272357538782F413F4428472B4B6250645367566B5970
APP_JWT_REFRESH_SECRET: 404E635266556A586E3272357538782F413F4428472B4B6250645367566B5970404E635266556A586E3272357538782F413F4428472B4B6250645367566B5970
DATASOURCE_PORT: 5432
DATASOURCE_NAME: testdb
DATASOURCE_USERNAME: postgres
DATASOURCE_PASSWORD: postgres
DATASOURCE_HOST: iced-latte-postgresdb-qa
REDIS_HOST: iced-latte-redis-qa
REDIS_PORT: 6380
AWS_DEFAULT_PRODUCT_IMAGES_PATH: ./products
AWS_ACCESS_KEY: vbfgngfdndgndgndgndgndgndgndg
AWS_SECRET_KEY: vbfgngfdndgndgndgndgndgndgndg
AWS_REGION: eu-west-1
AWS_PRODUCT_BUCKET: products
AWS_USER_BUCKET: users
GOOGLE_AUTH_CLIENT_ID: vbfgngfdndgndgndgndgndgndgndg
GOOGLE_AUTH_CLIENT_SECRET: vbfgngfdndgndgndgndgndgndgndg
GOOGLE_AUTH_REDIRECT_URI: vbfgngfdndgndgndgndgndgndgndg
ports:
- '8083:8083'
- '5005:5005'
networks:
- iced-latte-network-qa
depends_on:
- iced-latte-postgresdb-qa
volumes:
- backend_logs:/usr/app/logs
- ./products:/usr/app/products
restart: on-failure
iced-latte-postgresdb-qa:
image: 'postgres:13.11-bullseye'
container_name: iced-latte-postgresdb-qa
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=testdb
ports:
- '5432:5432'
networks:
- iced-latte-network-qa
volumes:
- pg_data:/var/lib/postgresql/data
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
interval: 30s
timeout: 10s
retries: 5
restart: on-failure
iced-latte-redis:
image: redis/redis-stack:latest
container_name: iced-latte-redis-qa
networks:
- iced-latte-network-qa
environment:
- REDIS_HOST=localhost
- REDIS_PORT=6380
ports:
- "6380:6380"