26 lines
458 B
YAML
26 lines
458 B
YAML
|
|
version: '3.5'
|
||
|
|
|
||
|
|
services:
|
||
|
|
|
||
|
|
postgres:
|
||
|
|
container_name: postgres
|
||
|
|
image: postgres
|
||
|
|
environment:
|
||
|
|
POSTGRES_USER: postgres
|
||
|
|
POSTGRES_PASSWORD: fooooder
|
||
|
|
POSTGRES_DB: fider
|
||
|
|
volumes:
|
||
|
|
- postgres:/data/postgres
|
||
|
|
ports:
|
||
|
|
- "5432:5432"
|
||
|
|
# - "0.0.0.0:5432:5432"
|
||
|
|
# networks:
|
||
|
|
# - postgres
|
||
|
|
restart: unless-stopped
|
||
|
|
|
||
|
|
# networks:
|
||
|
|
# postgres:
|
||
|
|
# driver: bridge
|
||
|
|
|
||
|
|
volumes:
|
||
|
|
postgres:
|