-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
33 lines (31 loc) · 730 Bytes
/
Copy pathcompose.yaml
File metadata and controls
33 lines (31 loc) · 730 Bytes
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
version: '3.9'
services:
# postgres:
# image: postgres:alpine3.22
# container_name: postgres
# environment:
# POSTGRES_DB: compiler
# POSTGRES_USER: postgres
# POSTGRES_PASSWORD: 12345
# ports:
# - "5432:5432"
redis:
image: redis:alpine3.22
container_name: redis
ports:
- "6379:6379"
# spvapi:
# image: spvapi
# container_name: spvapi
# build: .
# ports:
# - "8080:8080"
# environment:
# SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5432/compiler
# SPRING_DATASOURCE_USERNAME: postgres
# SPRING_DATASOURCE_PASSWORD: 12345
# SPRING_REDIS_HOST: redis
# SPRING_REDIS_PORT: 6379
# depends_on:
# - postgres
# - redis