docker-compose.yml 292 B

12345678910111213141516
  1. version: "3"
  2. services:
  3. postgres:
  4. image: postgres:10-alpine
  5. network_mode: bridge
  6. environment:
  7. PGDATA: /data
  8. POSTGRES_USER: rustodon
  9. POSTGRES_PASSWORD: rustodon
  10. volumes:
  11. - "postgres-data:/data"
  12. ports:
  13. - "5432:5432"
  14. volumes:
  15. postgres-data: