You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
461 B
YAML
19 lines
461 B
YAML
version: '3'
|
|
services:
|
|
db:
|
|
image: postgres:9.6.15-alpine
|
|
container_name: nodecannon_db
|
|
ports:
|
|
- 127.0.0.1:5432:5432
|
|
environment:
|
|
POSTGRES_PASSWORD: ${DB_PASS}
|
|
POSTGRES_USER: ${DB_USER:-nodecannon}
|
|
POSTGRES_DB: ${DB_NAME:-nodecannon}
|
|
volumes:
|
|
- ${DATA_DIR:-./data/postgresql}:/var/lib/postgresql/data
|
|
cache:
|
|
image: redis:latest
|
|
container_name: nodecannon_cache
|
|
ports:
|
|
- 127.0.0.1:6379:6379
|