You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
372 B
23 lines
372 B
3 years ago
|
version: '3.7'
|
||
|
services:
|
||
|
postgres:
|
||
|
image: postgres:12
|
||
3 years ago
|
container_name: postgres
|
||
|
restart: unless-stopped
|
||
|
ports:
|
||
|
- 5432:5432
|
||
3 years ago
|
env_file:
|
||
|
- ../.env
|
||
|
volumes:
|
||
|
- postgres:/var/lib/postgresql/data
|
||
|
|
||
|
redis:
|
||
|
image: 'redis:alpine'
|
||
3 years ago
|
container_name: redis
|
||
|
restart: unless-stopped
|
||
3 years ago
|
ports:
|
||
3 years ago
|
- 6379:6379
|
||
3 years ago
|
|
||
|
volumes:
|
||
|
postgres:
|