Skip to content

Instantly share code, notes, and snippets.

@Enigo
Last active May 27, 2023 15:46
Show Gist options
  • Save Enigo/2fc6b51c487314dfa3fff50895286b5e to your computer and use it in GitHub Desktop.
Save Enigo/2fc6b51c487314dfa3fff50895286b5e to your computer and use it in GitHub Desktop.
services:
db:
image: postgres:15.3
restart: 'no'
environment:
POSTGRES_PASSWORD: notsecure
POSTGRES_USER: data-loader-local
POSTGRES_DB: illuvium-land
ports:
- '5432:5432'
flyway:
image: flyway/flyway:9.19.1
command: -url=jdbc:postgresql://db/illuvium-land -schemas=public -user=data-loader-local -password=notsecure -connectRetries=60 migrate
volumes:
- ./migrations:/flyway/sql
depends_on:
- db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment