Skip to content

Commit

Permalink
redis deploy (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
t0lia authored May 20, 2024
1 parent 6f48efb commit 7e4d5bb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions deploy/templates/docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,25 @@ services:
environment:
SPRING_PROFILES_ACTIVE: "{{ profile }}"
JASYPT_ENCRYPTOR_PASSWORD: "{{ jasypt_password }}"
SPRING_REDIS_HOST: redis
SPRING_REDIS_PORT: 6379
depends_on:
- redis

ui:
image: retypeme/retypeme-frontend:{{ version }}
restart: always
ports:
- "3001:3000"

redis:
image: redis:latest
restart: always
ports:
- "6379:6379"
volumes:
- redis-data:/data

volumes:
redis-data:
driver: local

0 comments on commit 7e4d5bb

Please sign in to comment.