Skip to content

where can we specify the migrations directory? #9

Answered by KROSF
hyusetiawan asked this question in Q&A
Discussion options

You must be logged in to vote
version: "3.7"
services:
  pocketbase:
    image: ghcr.io/muchobien/pocketbase:latest
    container_name: pocketbase
    restart: unless-stopped
    command:
      - --migrationsDir
      - /pb_migrations
    ports:
      - "8090:8090"
    volumes:
      - /path/to/data:/pb_data
      - /path/to/public:/pb_public #optional
      - /path/to/migrations:/pb_migrations

you can pass any extra flag using the command property

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by KROSF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #8 on July 31, 2023 07:40.