mirror of
https://git.wownero.com/lza_menace/neroswap.git
synced 2024-08-15 01:03:24 +00:00
19 lines
453 B
YAML
19 lines
453 B
YAML
|
version: '3'
|
||
|
services:
|
||
|
db:
|
||
|
image: postgres:9.6.15-alpine
|
||
|
container_name: neroswap_db
|
||
|
ports:
|
||
|
- 127.0.0.1:5432:5432
|
||
|
environment:
|
||
|
POSTGRES_PASSWORD: ${DB_PASS}
|
||
|
POSTGRES_USER: ${DB_USER:-neroswap}
|
||
|
POSTGRES_DB: ${DB_NAME:-neroswap}
|
||
|
volumes:
|
||
|
- ${DATA_DIR:-./data/postgresql}:/var/lib/postgresql/data
|
||
|
cache:
|
||
|
image: redis:latest
|
||
|
container_name: neroswap_cache
|
||
|
ports:
|
||
|
- 127.0.0.1:6379:6379
|