-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
49 lines (46 loc) · 1.08 KB
/
docker-compose.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
version: "2"
services:
api:
image: retypeme/retypeme-backend:latest
restart: always
ports:
- "8080:8080"
# build:
# dockerfile: backend/Dockerfile
# context: .
# args:
# REPOSITORY_TOKEN: ${REPOSITORY_TOKEN}
environment:
SPRING_PROFILES_ACTIVE: "dev,w3"
JASYPT_ENCRYPTOR_PASSWORD: ${JASYPT_ENCRYPTOR_PASSWORD}
SPRING_DATA_REDIS_PASSWORD: secret
volumes:
- ./.dev-conf:/config
depends_on:
- redis
ui:
image: retypeme/retypeme-frontend:latest
restart: always
ports:
- "3001:3000"
# build:
# dockerfile: ./Dockerfile
# context: ./frontend
# args:
# NEXT_PUBLIC_ENV_LOCAL_INFURA_AMOY_API_KEY: ${NEXT_PUBLIC_ENV_LOCAL_INFURA_AMOY_API_KEY}
# NEXT_PUBLIC_API_DOMAIN: ${NEXT_PUBLIC_API_DOMAIN}
depends_on:
- api
redis:
image: redis:latest
restart: always
command: ["redis-server", "--requirepass", "secret"]
ports:
- "6379:6379"
volumes:
- redis-data:/data
volumes:
config:
driver: local
redis-data:
driver: local