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

19
dotenv-dev Normal file
View File

@@ -0,0 +1,19 @@
SECRET_KEY_BASE=secret
LOADBALANCER_SECRET=secret
URL_HOST=sl.example.com
SCALELITE_REPO=blindsidenetwks
SCALELITE_TAG=master
DB_DISABLED: "false"
POLL_INTERVAL: "60"
RECORDING_DISABLED: "false"
RECORDING_IMPORT_POLL: "true"
RECORDING_IMPORT_POLL_INTERVAL: "60"
DOCKER_VOL_SCALELITE_API=/home/ubuntu/scalelite-run/data/scalelite
DOCKER_VOL_POSTGRES_DATA=/home/ubuntu/scalelite-run/data/postgres
DOCKER_VOL_REDIS_DATA=/home/ubuntu/scalelite-run/data/redis
DOCKER_PROXY_NGINX_TEMPLATE=scalelite-proxy
#DOCKER_PROXY_NGINX_TEMPLATE=scalelite-local