diff --git a/docker-compose.yml b/docker-compose.yml index b6dbbd459..aeb7d4f4d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,18 +1,22 @@ -# This file is for testing only, as I don't recommend using Docker Compose in a production environment +## This file is for testing only, as I don't recommend using Docker Compose +## in a production environment version: "3.7" services: db: image: postgres:14-alpine - # image: groonga/pgroonga:3.1.1-alpine-14 # Use this one if you want to use PGroonga + ## Use the following image instead if you want to use PGroonga + # image: groonga/pgroonga:3.1.1-alpine-14 restart: unless-stopped environment: POSTGRES_DB: akkoma POSTGRES_USER: akkoma POSTGRES_PASSWORD: akkoma - # Comment out the volume below if you encounter any permission errors volumes: - ./docker-db/:/var/lib/postgresql/data/:Z + ## Use the following volume instead if you are running Docker in + ## emulated environments and getting permission errors + # - docker-db:/var/lib/postgresql/data/:Z akkoma: image: akkoma:latest