Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.1'
- services:
- postgres:
- image: postgres@{postgres-image-hash}
- restart: always
- environment:
- POSTGRES_USER: {postgres-user}
- POSTGRES_PASSWORD: {postgres-password}
- POSTGRES_DB: {postgres-db}
- volumes:
- - ./schemes:/docker-entrypoint-initdb.d
- redis:
- image: redis@{redis-image-hash}
- restart: always
- ports:
- - 6379:6379
- {app-name}:
- depends_on:
- - redis
- - postgres
- build: .
- ports:
- - 8082:8082
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement