Skip to content

Instantly share code, notes, and snippets.

@AlperRehaYAZGAN
Last active March 27, 2023 06:15
Show Gist options
  • Save AlperRehaYAZGAN/5f2a7268c4cf95eb16963fafbd2305a3 to your computer and use it in GitHub Desktop.
Save AlperRehaYAZGAN/5f2a7268c4cf95eb16963fafbd2305a3 to your computer and use it in GitHub Desktop.
A simple Rocky Linux 8 and Minio docker-compose.yaml for testing postgres installation setup, backup and restore utilities.
# simple docker-compose.yaml for rockylinux on dockerfile "./dockerfiles/rockylinux8/Dockerfile" and Minio.
version: '3.7'
services:
minio:
image: rancher/minio-minio:RELEASE.2020-07-13T18-09-56Z
container_name: minio
restart: unless-stopped
networks:
- pgfnnet
volumes:
- ./volumes/minio/data:/data
- ./volumes/minio/config:/root/.minio
ports:
- 9000:9000
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: minio123
command: server /data
rockylinux8:
build: ./dockerfiles/rockylinux8
container_name: rockylinux
restart: always
networks:
- pgfnnet
privileged: true
ports:
- 5432:5432
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: minio123
# pgfnnet
networks:
pgfnnet:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment