open postgres and redis ports for sharing with local machine

This commit is contained in:
jfederico
2021-03-10 10:58:15 -05:00
parent d14d1df072
commit db526768bf
2 changed files with 23 additions and 0 deletions

View File

@@ -27,6 +27,8 @@ services:
restart: unless-stopped
volumes:
- postgres-data-dev:/var/lib/postgresql/data
ports:
- "5432:5432"
environment:
- POSTGRES_USER=${POSTGRES_USER:-postgres}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-password}
@@ -38,6 +40,8 @@ services:
restart: unless-stopped
volumes:
- redis-data-dev:/data
ports:
- "6379:6379"
certbot:
image: certbot/certbot