Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.1'
- services:
- db:
- image: postgres:14.6
- restart: always
- environment:
- POSTGRES_PASSWORD: root
- POSTGRES_USER: root
- command: postgres -c logging_collector=on -c log_destination=stderr -c log_directory=/logs -c config_file=/var/lib/postgresql.conf
- volumes:
- # Persist the data between container invocations
- - postgresVolume:/var/lib/postgresql/data:rw
- - ./logs:/logs:rw
- - ./configs/postgresql.conf:/var/lib/postgresql.conf:rw
- adminer:
- image: adminer
- restart: always
- ports:
- - 5755:8080
- volumes:
- postgresVolume:
Advertisement
Add Comment
Please, Sign In to add comment