Update docker-compose.example.yml

This commit is contained in:
Sam authored and GitHub committed 2023-02-01 12:40:43 +11:00
1 parent 7dd6652e9c
commit 929b02ad7f
1 file changed
+3 -2
+3 -2
View File
@@ -10,6 +10,7 @@ services:
environment:
DATABASE_URL: postgresql://van_dam:password@db/van_dam?pool=5
SECRET_KEY_BASE: a_nice_long_random_string
REDIS_URL: redis://redis:6379/1
# RAILS_RELATIVE_URL_ROOT: /vandam Sets the root of the app to /vandam useful for reverse proxies with nginx
depends_on:
- db
@@ -17,8 +18,8 @@ services:
networks:
- van_dam
links:
- "db:db"
- "redis:redis"
- db
- redis
db:
image: postgres:15