diff options
author | Matthew Lemon <y@yulqen.org> | 2024-04-10 19:33:21 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-04-10 19:33:21 +0100 |
commit | e69391d4f309f6268440632585bbddf3a2a5bd60 (patch) | |
tree | 9e0faa4a92f06dbd8c228ba80752ea5f4d89dd17 /compose.yaml | |
parent | d36c48b3251b9da483f06318ecaa14b9a4fa7118 (diff) |
First introduction of migrations using golang-migrate
Diffstat (limited to 'compose.yaml')
-rw-r--r-- | compose.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/compose.yaml b/compose.yaml index 4206716..d1544a0 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,12 +1,15 @@ services: db: - image: postgres:16-alpine + build: + context: . + dockerfile: Dockerfile.postgres ports: - 5432:5432 environment: - POSTGRES_PASSWORD=secret volumes: - dbasik_data:/var/lib/postgresql/data + - ./migrations:/dbasik app: build: context: . |